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

NextPrevUpTopContentsIndex

make-timer

Function
Summary

Creates and returns an unnamed timer.

Package

mp

Signature

make-timer function &rest arguments => timer

Arguments

function

A function

arguments

A set of arguments to function

Values

timer

A timer

Description

The function make-timer creates and returns an unnamed timer. The function argument is a function to be applied to the remaining arguments when the timer expires. Use the function schedule-timer or schedule-timer-relative to set an expiration time.

Note that the function make-named-timer creates a named timer.

Example
(setq timer
      (mp:make-timer 'print 10 *standard-output*))
=>
#<Time Event : PRINT>
See also

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


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex