16 library(time): Time and alarm library
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog C-library
        • library(time): Time and alarm library
          • alarm/3
          • alarm/4
          • alarm_at/3
          • alarm_at/4
          • install_alarm/1
          • install_alarm/2
          • uninstall_alarm/1
          • remove_alarm/1
          • current_alarm/4
          • call_with_time_limit/2
          • call_with_time_limit/3
Availability::- use_module(library(time)).(can be autoloaded)
Source[nondet]current_alarm(?Time, :Goal, ?Id, ?Status)
Enumerate the alarms in the schedule. Time is the absolute time the event is scheduled for (see also get_time/1). Goal is the goal to execute, Id is the identifier and Status is the scheduling status. It takes the value done if the alarm has been fired, next if the event is the next to be executed and scheduled otherwise.