Commit 732baa18128e9fa023e9bbe3f4c71bfc39165f5c

Con Kolivas 2011-07-08T06:12:38

Use the wakeup thread as a watchdog to ensure we don't fall between the holes of queue and dequeue.