Function
schedule-timer-milliseconds timer absolute-expiration-time &optional repeat-time => timer
mp
A timer
A non-negative real
A non-negative real
A timer
schedule-timer-milliseconds
function schedules a timer to expire at a given time after the start of the program. The timer argument is a timer returned by make-timer
or make-named-timer
. The absolute-expiration-time argument is a non-negative real number of milliseconds since the start of the program at which the timer is to expire. If repeat-time is specified, it is a non-negative real number of milliseconds that specifies a repeat interval. Each time the timer expires, it is rescheduled to expire after this repeat interval. nil
, the timer is not rescheduled, but the repeat interval is set to the interval specified by the repeat-time argument. schedule-timer-relative-milliseconds
schedules a timer to expire at a time relative to the call to that function. (setq timer (mp:make-timer 'print 10 *standard-output*)) #<Time Event : PRINT> (mp:schedule-timer-milliseconds timer 900000 300000) #<Time Event : PRINT>