X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fthreading.texinfo;h=21d27560ced2d921352736c3d9c441959ecfe77d;hb=dfac7cf0a99bf0b793c21c309325d33551f3f794;hp=610941dd3b804df9393591e4b9faede4d9af9a81;hpb=993f64ee95d0f9c3c407ba7f880657f06a0a70fe;p=sbcl.git diff --git a/doc/manual/threading.texinfo b/doc/manual/threading.texinfo index 610941d..21d2756 100644 --- a/doc/manual/threading.texinfo +++ b/doc/manual/threading.texinfo @@ -162,16 +162,22 @@ if you want a bounded wait. @comment node-name, next, previous, up @section Semaphores -described here should be considered -experimental, subject to API changes without notice. +Semaphores are among other things useful for keeping track of a +countable resource, eg. messages in a queue, and sleep when the +resource is exhausted. @include struct-sb-thread-semaphore.texinfo @include fun-sb-thread-make-semaphore.texinfo -@include fun-sb-thread-semaphore-count.texinfo -@include fun-sb-thread-semaphore-name.texinfo @include fun-sb-thread-signal-semaphore.texinfo -@include fun-sb-thread-try-semaphore.texinfo @include fun-sb-thread-wait-on-semaphore.texinfo +@include fun-sb-thread-try-semaphore.texinfo +@include fun-sb-thread-semaphore-count.texinfo +@include fun-sb-thread-semaphore-name.texinfo + +@include struct-sb-thread-semaphore-notification.texinfo +@include fun-sb-thread-make-semaphore-notification.texinfo +@include fun-sb-thread-semaphore-notification-status.texinfo +@include fun-sb-thread-clear-semaphore-notification.texinfo @node Waitqueue/condition variables @comment node-name, next, previous, up