TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Joachim Terasa 100421,2472 (X)
from: Ian J Shearer 100410,2733
date: 1995-04-25 14:50:59
subject: #20924-#Alarms `disappearing`

#: 20926 S12/OS9/68000 (OSK)
    25-Apr-95  14:50:59
Sb: #20924-#Alarms 'disappearing'
Fm: Ian J Shearer 100410,2733
To: Joachim Terasa 100421,2472 (X)

Thanks for the advice, but I think I'm seeing something different.  Two
reasons; first, the utility that shows what is happening in the system doesn't
recognise that the alarm is ever being set.  Second, I've tried putting a
printf() in the signal handler (not good practice, but really useful for
debugging) and this doesn't see the signal ever arriving.

I'm told that it is impossible for OS-9 to 'drop' a signal.  If one is sent it
is ALWAYS seen by the signal handler.  The only way to loose the information is
by using the normal technique of setting a global variable, then finding that
you've over-written it before it is processed.  This is the problem you saw.

If my reasoning is correct the signal never gets to the process because the
alarm isn't correctly set.  Does this make sense??

Thanks anyway; any more advice gratefully received.

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™.