1.0.37.15: Make SB-THREAD:TRY-SEMAPHORE decrement count by N.
authorTobias C. Rittweiler <trittweiler@users.sourceforge.net>
Mon, 29 Mar 2010 10:54:08 +0000 (10:54 +0000)
committerTobias C. Rittweiler <trittweiler@users.sourceforge.net>
Mon, 29 Mar 2010 10:54:08 +0000 (10:54 +0000)
commitddcb2eeafdaa1c6a2cbb7b4b4dd420ad6b83d732
tree7e7a843caebfb12d3d07cae773385889ac9cf7c6
parentd4269db7d3211f7fb00003f9c36eff109deb8caa
1.0.37.15: Make SB-THREAD:TRY-SEMAPHORE decrement count by N.

Add an &optional N parameter to SB-THREAD:TRY-SEMAPHORE as an
optimization so a user who wants to do so does not need to
acquire a semaphore's lock multiple times but just once.
src/code/target-thread.lisp
tests/threads.impure.lisp
version.lisp-expr