cvs commit: src/sys/bus/usb usb.c
Matthew Dillon
dillon at apollo.backplane.com
Sat Apr 26 15:58:00 PDT 2008
: crit_enter();
:
:+ /*
:+ * Wait if task is currently executing
:+ */
:+ while (task->queue == -2)
:+ tsleep(task, 0, "usbwttsk", hz);
:
:This will cause deadlock, if task's function wants to enqueue itself.
:rum(4) or ural(4) will do that kind of stuffs (the recursion is down
:deep into 802.11 stack)
:
:Best Regards,
:sephe
That patch was questionable when I wrote it. Go ahead and remove it.
-Matt
More information about the Commits
mailing list