1.0.37.10: docs, docs are good
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 28 Mar 2010 16:36:30 +0000 (16:36 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 28 Mar 2010 16:36:30 +0000 (16:36 +0000)
 * 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.)

doc/manual/docstrings.lisp
doc/manual/threading.texinfo
version.lisp-expr

index 27d23a1..ba8b900 100644 (file)
@@ -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))
index 2fbd8d8..3fc374a 100644 (file)
@@ -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
index cfbfc4d..c9ae3d3 100644 (file)
@@ -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"