1.0.10.29: MUTEX refactoring & optimization
commit513aec1c69b8ad9a7d90a46013352725fe0b0a48
authorNikodemus Siivola <nikodemus@random-state.net>
Fri, 5 Oct 2007 14:48:40 +0000 (5 14:48 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Fri, 5 Oct 2007 14:48:40 +0000 (5 14:48 +0000)
tree9face0c9d51127150427d0efe0d17de6d57398c1
parentce3fc26e7433d807ec953785cf4b8bb658f9a638
1.0.10.29: MUTEX refactoring & optimization

 * (SETF MUTEX-VALUE) removed entirely. Using it was never sane,
   and in the new setup entirely broken.

 * On futex platforms, keep track of state of the mutex: free, taken,
   or contested (taken and may have one ore more threads waiting).

 * On release, if the mutex is not contested, there is no need to
   perform the wakeup.

 * Document assumptions made by GET-MUTEX & RELEASE-MUTEX better.

 * Update FASL version.
NEWS
src/code/early-fasl.lisp
src/code/gc.lisp
src/code/target-thread.lisp
src/code/thread.lisp
version.lisp-expr