1.0.13.3: Fix minor bug in INPUT-STREAM-P, OUTPUT-STREAM-P
[sbcl/eslaughter.git] / doc / manual / timers.texinfo
blobf4687e5bb3cc2f59cd83b4b720513117cc098384
1 @node Timers
2 @comment  node-name,  next,  previous,  up
3 @chapter Timers
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.
9 @menu
10 @end menu
12 @lisp
13 (schedule-timer (make-timer (lambda ()
14                               (write-line "Hello, world")
15                               (force-output)))
16                 2)
17 @end lisp
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