16 Time and alarm library
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog C-library
Time and alarm library
alarm/4
alarm/3
alarm_at/4
install_alarm/1
install_alarm/2
uninstall_alarm/1
remove_alarm/1
current_alarm/4
call_with_time_limit/2
Availability:
:- use_module(
library(time)
).
(can be autoloaded)
current_alarm
(
?At, ?:Callable, ?Id, ?Status
)
Enumerate the not-yet-removed alarms.
Status
is one of
done
if the alarm has been called,
next
if it is the next to be fired and
scheduled
otherwise.