Next Previous Up Top Contents Index

13 The MP Package

unschedule-timer

Function

Summary

Unschedules a scheduled timer
Signature

unschedule-timer timer => result

Package

mp

Arguments

timer

A timer

Values

result

A timer ornil

Description

If the specified timer has been scheduled to expire at a time after the call tounschedule-timer, this function unschedules the timer and returns the timer. Otherwise, the function returnsnil.
The argument is a timer, returned bymake-timer ormake-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 Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker