MPSAFE - mutex enhancements.
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 15 Jul 2009 19:04:28 +0000 (12:04 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 15 Jul 2009 19:04:28 +0000 (12:04 -0700)
commit7355baa5bbf0684a5284f52d4d2726e00c2893d8
tree875be4e96e1748e16224733ba66c747b6ea748d3
parent73efd7256b8f097cba8dbb7c9937b8492fe29728
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.
sys/kern/kern_mutex.c
sys/sys/mutex.h
sys/sys/mutex2.h