1.0.37.8: add ATOMIC-DECF, fix WAIT-ON-SEMAPHORE-BUGLET
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 28 Mar 2010 15:19:11 +0000 (15:19 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 28 Mar 2010 15:19:11 +0000 (15:19 +0000)
commit955ce74879cc8220d4c97bb1c0f3becd26ad68fc
tree9f46cb74d02a77eecc21f95d3e05c236155917ef
parent90c4b36715e7173e12fe4af1079a347b2e6fd14b
1.0.37.8: add ATOMIC-DECF, fix WAIT-ON-SEMAPHORE-BUGLET

 * We already had SB-EXT:ATOMIC-INCF, so this seems a sensible
   companion. I really cannot remember why I didn't do things like
   this in the first place -- lack of time, maybe?

 * Use ATOMIC-DECF instead of DECF in WAIT-ON-SEMAPHORE to decrement
   the waitcount: if we unwind from CONDITION-WAIT due to timeout the
   mutex might no longer be ours.
NEWS
package-data-list.lisp-expr
src/code/late-extensions.lisp
src/code/target-thread.lisp
src/compiler/generic/vm-fndb.lisp
src/compiler/x86-64/cell.lisp
src/compiler/x86/cell.lisp
tests/compare-and-swap.impure.lisp
tests/threads.impure.lisp
version.lisp-expr