NextPrevUpTopContentsIndex

timer-name

Function
Summary

Returns the name of a specified timer.

Signature

timer-name timer => name

Signature

(setf timer-name) name timer => name

Package

mp

Arguments

timer

A timer

Values

name

A string

Description

The timer-name function 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)
Example
(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
See also

make-named-timer
make-timer
schedule-timer
schedule-timer-milliseconds
schedule-timer-relative
timer-expired-p
unschedule-timer


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex