John Baldwin 712f57d8ab Tidy up the thread taskqueue implementation and close a lost wakeup race.
Instead of creating a mutex that we msleep on but don't actually lock when
doing the corresponding wakeup(), in the kthread, lock the mutex associated
with our taskqueue and msleep while the queue is empty.  Assert that the
queue is locked when the callback function is called to wake the kthread.
2004-02-19 22:03:52 +00:00
..
2004-01-22 19:50:06 +00:00
2004-02-17 10:21:03 +00:00
2004-02-03 15:14:27 +00:00
2004-02-15 00:43:22 +00:00
2004-02-17 12:30:32 +00:00
2004-01-05 23:40:46 +00:00
2004-02-17 12:30:32 +00:00