All Manuals > LispWorks User Guide and Reference Manual > 44 The MP Package

NextPrevUpTopContentsIndex

unschedule-timer

Function
Summary

Unschedules a scheduled timer

Package

mp

Signature

unschedule-timer timer => result

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 - 13 Feb 2015

NextPrevUpTopContentsIndex