LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

unschedule-timer

Function
Summary

Unschedules a scheduled timer

Signature

unschedule-timer timer => result

Package

mp

Arguments

timer

A timer

Values

result

A timer or nil

Description

If the specified timer has been scheduled to expire at a time after the call to unschedule-timer , this function unschedules the timer and returns the timer. Otherwise, the function returns nil .

The argument is a timer, returned by make-timer or make-named-timer.

Example
(setq timer
      (mp:make-timer 'print 10 *standard-output*))
#<Time Event : PRINT> (mp:schedule-timer-relative timer 60) #<Time Event : PRINT> (mp:unschedule-timer timer) #<Time Event : PRINT> (mp:timer-expired-p timer) T
See also

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


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex