1.0.13.19: Odds and ends (OpenBSD NEWS, minor bug in PROBE-FILE, mkstemp())
[sbcl.git] / doc / manual / timers.texinfo
1 @node Timers
2 @comment  node-name,  next,  previous,  up
3 @chapter Timers
4
5 SBCL supports a system-wide scheduler implemented on top of
6 @code{setitimer} that also works with threads but does not require a
7 separate scheduler thread.
8
9 @menu
10 @end menu
11
12 @lisp
13 (schedule-timer (make-timer (lambda ()
14                               (write-line "Hello, world")
15                               (force-output)))
16                 2)
17 @end lisp
18
19 @include struct-sb-ext-timer.texinfo
20 @include fun-sb-ext-make-timer.texinfo
21 @include fun-sb-ext-timer-name.texinfo
22 @include fun-sb-ext-timer-scheduled-p.texinfo
23 @include fun-sb-ext-schedule-timer.texinfo
24 @include fun-sb-ext-unschedule-timer.texinfo
25 @include fun-sb-ext-list-all-timers.texinfo