X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fthreading.texinfo;h=2fbd8d89782f3c9649dd8f0d8713dd5a15344525;hb=11b5ac86a98f058fe0375b0a707c6ef9e24590c9;hp=d1185e7db1aca47d09e714f12ce3a8f338d0bb37;hpb=9ee246f59019b776b38f6c09b2ce730cd0b32844;p=sbcl.git diff --git a/doc/manual/threading.texinfo b/doc/manual/threading.texinfo index d1185e7..2fbd8d8 100644 --- a/doc/manual/threading.texinfo +++ b/doc/manual/threading.texinfo @@ -9,19 +9,22 @@ multiprocessing on machines that have more than one CPU, but it does not allow Lisp control of the scheduler. This is found in the SB-THREAD package. -This requires Linux (2.6+ or systems with NPTL backports) running on the -x86 or x86-64 architecture, or SunOS (Solaris) on the x86. Support for -threading on Darwin (Mac OS X) and FreeBSD on the x86 is experimental. +Threads are part of the default build on x86[-64] Linux only. + +They are also experimentally supported on: x86[-64] Darwin (Mac OS X), +x86[-64] FreeBSD, and x86 SunOS (Solaris). On these platforms threads +must be explicitly enabled at build-time, see @file{INSTALL} for +directions. @menu -* Threading basics:: -* Special Variables:: -* Mutex Support:: -* Semaphores:: -* Waitqueue/condition variables:: -* Sessions/Debugging:: -* Foreign threads:: -* Implementation (Linux x86/x86-64):: +* Threading basics:: +* Special Variables:: +* Mutex Support:: +* Semaphores:: +* Waitqueue/condition variables:: +* Sessions/Debugging:: +* Foreign threads:: +* Implementation (Linux x86/x86-64):: @end menu @node Threading basics @@ -32,19 +35,37 @@ threading on Darwin (Mac OS X) and FreeBSD on the x86 is experimental. (make-thread (lambda () (write-line "Hello, world"))) @end lisp +@subsection Thread Objects + @include struct-sb-thread-thread.texinfo @include var-sb-thread-star-current-thread-star.texinfo +@include fun-sb-thread-list-all-threads.texinfo +@include fun-sb-thread-thread-alive-p.texinfo +@include fun-sb-thread-thread-name.texinfo + +@subsection Making, Joining, and Yielding Threads + @include fun-sb-thread-make-thread.texinfo +@include fun-sb-thread-thread-yield.texinfo @include fun-sb-thread-join-thread.texinfo -@include condition-sb-thread-join-thread-error.texinfo -@include fun-sb-thread-join-thread-error-thread.texinfo -@include fun-sb-thread-thread-alive-p.texinfo -@include fun-sb-thread-list-all-threads.texinfo -@include condition-sb-thread-interrupt-thread-error.texinfo -@include fun-sb-thread-interrupt-thread-error-thread.texinfo + +@subsection Asynchronous Operations + @include fun-sb-thread-interrupt-thread.texinfo @include fun-sb-thread-terminate-thread.texinfo -@include fun-sb-thread-thread-yield.texinfo + +@subsection Miscellaneous Operations + +@include fun-sb-thread-symbol-value-in-thread.texinfo + +@subsection Error Conditions + +@include condition-sb-thread-thread-error.texinfo +@include fun-sb-thread-thread-error-thread.texinfo + +@c @include condition-sb-thread-symbol-value-in-thread-error.texinfo +@include condition-sb-thread-interrupt-thread-error.texinfo +@include condition-sb-thread-join-thread-error.texinfo @node Special Variables @comment node-name, next, previous, up