Create the USB task queues before creating the event thread to avoid
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Jun 2007 20:57:59 +0000 (20:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Jun 2007 20:57:59 +0000 (20:57 +0000)
commit9447d1f78204c972ff7c4606a36ef17ff74cb6cb
treea19612c163174c9ede98c1f14209321fd99e4f87
parentca6d9fb71787f9d013cb789ad2f41d6fc33fb38e
Create the USB task queues before creating the event thread to avoid
possible races with the discovery.  Clean up the event thread termination
code.
sys/bus/usb/usb.c