jhb 60ad130f46 Add two new function pointers 'lc_lock' and 'lc_unlock' to lock classes.
These functions are intended to be used to drop a lock and then reacquire
it when doing an sleep such as msleep(9).  Both functions accept a
'struct lock_object *' as their first parameter.  The 'lc_unlock' function
returns an integer that is then passed as the second paramter to the
subsequent 'lc_lock' function.  This can be used to communicate state.
For example, sx locks and rwlocks use this to indicate if the lock was
share/read locked vs exclusive/write locked.

Currently, spin mutexes and lockmgr locks do not provide working lc_lock
and lc_unlock functions.
2007-03-09 16:27:11 +00:00
..
2007-03-06 10:58:22 +00:00
2007-03-04 04:53:17 +00:00
2007-03-07 12:51:52 +00:00
2007-03-08 15:26:54 +00:00
2006-12-14 17:33:46 +00:00
2006-11-28 19:33:28 +00:00
2006-11-26 18:27:16 +00:00