John Baldwin 51460da87f - Add a new simple facility for marking the current thread as being in a
state where sleeping on a sleep queue is not allowed.  The facility
  doesn't support recursion but uses a simple private per-thread flag
  (TDP_NOSLEEPING).  The sleepq_add() function will panic if the flag is
  set and INVARIANTS is enabled.
- Use this new facility to replace the g_xup and g_xdown mutexes that were
  (ab)used to achieve similar behavior.
- Disallow sleeping in interrupt threads when invoking interrupt handlers.

MFC after:	1 week
Reviewed by:	phk
2005-09-15 19:05:37 +00:00
..
2005-07-20 18:08:16 +00:00
2005-09-10 07:46:47 +00:00
2005-05-25 15:54:17 +00:00
2005-03-16 20:48:13 +00:00
2005-08-16 20:03:29 +00:00
2005-03-18 06:57:58 +00:00
2005-03-15 10:47:38 +00:00
2005-02-10 12:10:35 +00:00
2005-09-03 11:03:10 +00:00