From: Nikodemus Siivola Date: Sun, 28 Mar 2010 16:36:30 +0000 (+0000) Subject: 1.0.37.10: docs, docs are good X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=4a55b4bda0277716dd3c19bbf57f6060cad078ef;p=sbcl.git 1.0.37.10: docs, docs are good * Add ATOMIC-INCF, ATOMIC-DECF, COMPARE-AND-SWAP, and TRY-SEMAPHORE to the manual. * Teach docstrings.lisp to skip &ENVIRONMENT and &WHOLE in lambda-lists. (Needed by the above.) --- diff --git a/doc/manual/docstrings.lisp b/doc/manual/docstrings.lisp index 27d23a1..ba8b900 100644 --- a/doc/manual/docstrings.lisp +++ b/doc/manual/docstrings.lisp @@ -379,6 +379,9 @@ there is no corresponding docstring." (cons (car x) (clean (cdr x) :optional t))) ((cons (member &key)) (cons (car x) (clean (cdr x) :key t))) + ((cons (member &whole &environment)) + ;; Skip these + (clean (cdr x) :optional optional :key key)) ((cons cons) (cons (cond (key (if (consp (caar x)) diff --git a/doc/manual/threading.texinfo b/doc/manual/threading.texinfo index 2fbd8d8..3fc374a 100644 --- a/doc/manual/threading.texinfo +++ b/doc/manual/threading.texinfo @@ -19,6 +19,7 @@ directions. @menu * Threading basics:: * Special Variables:: +* Atomic Operations:: * Mutex Support:: * Semaphores:: * Waitqueue/condition variables:: @@ -94,6 +95,17 @@ The last point means that prints @code{0} and not @code{1} as of 0.9.6. +@node Atomic Operations +@comment node-name, next, previous, up +@section Atomic Operations + +SBCL provides a few special purpose atomic operations, particularly +useful for implementing lockless algorithms. + +@include macro-sb-ext-atomic-decf.texinfo +@include macro-sb-ext-atomic-incf.texinfo +@include macro-sb-ext-compare-and-swap.texinfo + @node Mutex Support @comment node-name, next, previous, up @section Mutex Support @@ -146,6 +158,7 @@ experimental, subject to API changes without notice. @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 @node Waitqueue/condition variables diff --git a/version.lisp-expr b/version.lisp-expr index cfbfc4d..c9ae3d3 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.37.9" +"1.0.37.10"