/usr/local/lib/swipl/library/ext/clib/time.pl
All Application Manual Name SummaryHelp

  • ext
    • clib
      • socket.pl
      • uid.pl
      • unix.pl
      • syslog.pl
      • memfile.pl
      • time.pl -- 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
      • uri.pl -- Process URIs
      • uuid.pl -- Universally Unique Identifier (UUID) Library
      • sha.pl -- SHA secure hashes
      • process.pl -- Create processes and redirect I/O
      • filesex.pl -- Extended operations on files
      • hash_stream.pl -- Maintain a hash on a stream
      • md5.pl -- MD5 hashes
      • rlimit.pl
      • mallocinfo.pl -- Memory allocation details
      • streampool.pl -- Input multiplexing
 current_alarm(?Time, :Goal, ?Id, ?Status) is nondet
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.