scsh-users
[Top] [All Lists]

Signal confusion

To: scsh@martigny.ai.mit.edu
Subject: Signal confusion
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: 12 Jun 1998 14:31:13 +0200
Sender: sperber@informatik.uni-tuebingen.de
I'm trying to make use of ITIMER.  I thought this ...

Scsh 0.5
> (set-interrupt-handler interrupt/alarm (lambda (stuff) (display "Alarm") 
> (newline)))
'#{Procedure 1447 (unnamed in loop##25)}
> (itimer 3)
0

... would print "Alarm" after 3 seconds.  Instead, scsh exits with ...

> Alarm clock

What am I doing wrong?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

<Prev in Thread] Current Thread [Next in Thread>
  • Signal confusion, Michael Sperber [Mr. Preprocessor] <=