Returns the name of a specified timer.
mp
timer-name timer => name
setf (timer-name timer) name => name
timer⇩ |
A timer. |
name |
A string. |
name |
A string. |
The accessor timer-name
returns the name of timer, which is a timer returned by make-timer or make-named-timer. If 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:
(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 - 01 Dec 2021 19:30:51