DragonFly-2.3.2.65.g685eb master sys/kern kern_mutex.c sys/sys m

看板DFBSD_commit作者時間16年前 (2009/07/16 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1ANfVpRq (DFBSD_commit)