jeff 2921bb5e34 - Add an api for doing smp safe locks in userland.
- umtx_lock() is defined as an inline in umtx.h.  It tries to do an
   uncontested acquire of a lock which falls back to the _umtx_lock()
   system-call if that fails.
 - umtx_unlock() is also an inline which falls back to _umtx_unlock() if the
   uncontested unlock fails.
 - Locks are keyed off of the thr_id_t of the currently running thread which
   is currently just the pointer to the 'struct thread' in kernel.
 - _umtx_lock() uses the proc pointer to synchronize access to blocked thread
   queues which are stored in the first blocked thread.
2003-04-01 01:10:42 +00:00
..
2003-03-25 04:32:52 +00:00
2003-03-13 23:07:09 +00:00
2003-02-14 12:44:48 +00:00
2002-12-22 05:35:03 +00:00
2003-01-07 20:10:04 +00:00
2003-03-10 20:24:54 +00:00
2003-02-12 07:00:59 +00:00
2002-10-02 09:09:25 +00:00
2003-03-19 00:33:38 +00:00
2003-02-20 03:26:11 +00:00
2003-03-07 22:47:32 +00:00
2003-03-23 19:41:34 +00:00