TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Mark Wuest 74030,332 (X)
from: Bob van der Poel 76510,2203
date: 1991-09-18 21:07:53
subject: #12277-#Intercepts

#: 12280 S12/OS9/68000 (OSK)
    18-Sep-91  21:07:53
Sb: #12277-#Intercepts
Fm: Bob van der Poel 76510,2203
To: Mark Wuest 74030,332 (X)

I think the only remaining problem comes with combining longjmp() and
intercepts(). Seems that according to Kim, unless one actually leaves the
user's intercept trap function things will remain stacked until the program
terminates. If this is true, then things will run fine for a while--and then
the whole thing will end with some kind of stack (or queue) overflow. I'm not
ever sure in my trick of doing a sleep() in the sample code I uploaded a while
ago actually cleans the queue (or stack). I think it just re-enables the
intercepts? I have no problem with missing interupts in this situation. Matter
of fact, I'm not even writing a program which needs this techique right now
-but I have used it in the past under 6809, and it might be the route I'd
choose (if I have confidence in things) if I do a port. Yeah, I know it won't
port to Unix that way, but since I don't have a Unix box I don't really care.

BTW, I hope that someone is capturing this thread. You and Kim and others have
made this a most interesting and useful topic!

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.