The
make-named-timer
function creates and returns a named timer. The first argument is a string or symbol naming the timer. The second argument is a function to be applied to the remaining arguments when the timer expires. Use the function
schedule-timer
or
schedule-timer-relative
to set an expiration time.
In comparison, the function
make-timer
creates an unnamed timer.
(setq timer (mp:make-named-timer 'timer-1 'print 10
*standard-output*))
#<Time Event TIMER-1 : PRINT>
make-timer
schedule-timer
schedule-timer-milliseconds
schedule-timer-relative
schedule-timer-relative-milliseconds
timer-expired-p
timer-name
unschedule-timer