Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit [955ce7] Maximize Restore History

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.

Nikodemus Siivola Nikodemus Siivola 2010-03-28

changed src/code/late-extensions.lisp
changed src/code/target-thread.lisp
changed src/compiler/generic/vm-fndb.lisp
changed src/compiler/x86-64/cell.lisp
changed src/compiler/x86/cell.lisp
changed tests/compare-and-swap.impure.lisp
changed tests/threads.impure.lisp
changed NEWS
changed package-data-list.lisp-expr
changed version.lisp-expr
src/code/late-extensions.lisp Diff Switch to side-by-side view
Loading...
src/code/target-thread.lisp Diff Switch to side-by-side view
Loading...
src/compiler/generic/vm-fndb.lisp Diff Switch to side-by-side view
Loading...
src/compiler/x86-64/cell.lisp Diff Switch to side-by-side view
Loading...
src/compiler/x86/cell.lisp Diff Switch to side-by-side view
Loading...
tests/compare-and-swap.impure.lisp Diff Switch to side-by-side view
Loading...
tests/threads.impure.lisp Diff Switch to side-by-side view
Loading...
NEWS Diff Switch to side-by-side view
Loading...
package-data-list.lisp-expr Diff Switch to side-by-side view
Loading...
version.lisp-expr Diff Switch to side-by-side view
Loading...