The function timer-name
returns the name of the specified timer. The timer argument is a timer returned by make-timer or make-named-timer. If the timer has no name, timer-name
returns nil
.
The name of a timer created by either make-timer
or make-named-timer
can be set by means of the following syntax:
(setf (mp:timer-name timer) name)
(setq timer
(mp:make-timer 'print 10 *standard-output*))
#<Time Event : PRINT>
(mp:timer-name timer)
NIL
(setf (mp:timer-name timer) 'timer-1)
TIMER-1
(mp:timer-name timer)
TIMER-1
make-named-timer
make-timer
schedule-timer
schedule-timer-milliseconds
schedule-timer-relative
timer-expired-p
unschedule-timer
LispWorks User Guide and Reference Manual - 13 Feb 2015