看板 DFBSD_commit 關於我們 聯絡資訊
commit 7355baa5bbf0684a5284f52d4d2726e00c2893d8 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jul 15 12:04:28 2009 -0700 MPSAFE - mutex enhancements. * Add timeout to mtx_lock_{sh,ex} * Add quick version, mtx_lock_{sh,ex}_quick() which does not take a flags or timeout parameter. Summary of changes: sys/kern/kern_mutex.c | 81 ++++++++++++++++++++++++++++++++++++++---------- sys/sys/mutex.h | 6 ++- sys/sys/mutex2.h | 37 +++++++++++++++++++---- 3 files changed, 99 insertions(+), 25 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7355baa5bbf0684a5284f52d4d2726e00c2893d8 -- DragonFly BSD source repository