看板 DFBSD_commit 關於我們 聯絡資訊
commit 685ebdab61459f9a21b78b3260fa119879e5c0fc Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jul 15 19:38:39 2009 -0700 MPSAFE - mutex - better exclusive lock sequencer, bug fixes, abort * Redo the exclusive lock chaining algorithm. Use an explicit link structure and directly pass ownership to the next thread waiting on an exclusive lock. * Exclusive locks can be aborted via mtx_lock_ex_link() and mtx_abort_ex_link(). * Lots of misc bug fixes. Summary of changes: sys/kern/kern_mutex.c | 426 ++++++++++++++++++++++++++++++++++++++++++++----- sys/sys/mutex.h | 27 +++- sys/sys/mutex2.h | 28 ++++ 3 files changed, 435 insertions(+), 46 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/685ebdab61459f9a21b78b3260fa119879e5c0fc -- DragonFly BSD source repository