Potential problem with USB_THREAD_SUSPEND()?
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jun 29 11:49:47 UTC 2009
Hi,
USB_THREAD_SUSPEND(p) is defined as {kproc|kthread}_suspend(p, 0). This means
that it will wait until the corresponding thread recognizes its suspend request
and suspends itself. It seems that {kproc|kthread}_suspend_check() will be
used nowhere in the USB system. Thus the USB_THREAD_SUSPEND() will block
forever in most cases? It is only used in usb_proc_drain() during cold boot.
Have a nice day!
--
Sebastian Huber, Embedded Brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the freebsd-usb
mailing list