K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-19T22:03:52.000000Z K 7 svn:log V 372 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. END