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.hu...@embedded-brains.de PGP : Public key available on request Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"