mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
The #+ultrafutex feature which is nearly ready for use can acquire + release a mutex in 1/3rd the time of WITH-MUTEX. This is an improvement upon the old results in benchmarks/grab-mutex which showed maybe a 1.5x typical speedup. The new code is NLX-protected but *NOT* async-unwind or interrupt-safe, nor can it detect deadlocks. It did pass the entire regression suite, less one file. The rationale is that a debug build of code might demand maximum robustness while a release build wants sheer speed. This patch is a counterpoint to the adage that Lisp programmers know the value of everything but the cost of nothing; you should be able to choose your price for mutexes. |
||
|---|---|---|
| .. | ||
| arm64-softcard.txt | ||
| bbtrees.lisp | ||
| finalize.lisp | ||
| find-symbol.lisp | ||
| grab-mutex.lisp | ||
| grab-mutex2.lisp | ||
| slot-value.lisp | ||
| threads-compile.lisp | ||