use setitmer instead of alarm.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1886 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2007-05-20 23:00:38 +00:00
parent ed7873ef8a
commit 5affad32b6
9 changed files with 6316 additions and 6089 deletions

View File

@@ -5733,11 +5733,11 @@ Execute a new shell.
@findex alarm/3
@snindex alarm/3
@cnindex alarm/3
Arranges for YAP to be interrupted in @var{Seconds}
seconds. When interrupted, YAP will execute @var{Callable} and
then return to the previous execution. If @var{Seconds} is @code{0}, no
new alarm is scheduled. In any event, any previously set alarm is
canceled.
Arranges for YAP to be interrupted in @var{Seconds} seconds, or in
@var{Seconds.MicroSeconds}. When interrupted, YAP will execute
@var{Callable} and then return to the previous execution. If
@var{Seconds} is @code{0}, no new alarm is scheduled. In any event,
any previously set alarm is canceled.
The variable @var{OldAlarm} unifies with the number of seconds remaining
until any previously scheduled alarm was due to be delivered, or with