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-09-11 18:39:03 +00:00
2005-09-15 13:28:33 +00:00
2005-09-15 18:59:34 +00:00
2005-03-28 18:31:18 +00:00
2005-09-11 20:51:15 +00:00
2005-09-12 01:21:42 +00:00