heavy_init thread question

matthieu castet castet.matthieu at free.fr
Sat Jun 4 06:31:49 EDT 2005


IIRC the thread in heavy_init could be killed at anytime with SIGTERM 

But if the subdriver send urb in heavy_init what will happen if the urb 
didn't complete when the signal is sended ?

For exemple usb_control_msg doc say :
If a thread in your driver uses this call, make sure your disconnect()
method can wait for it to complete.  Since you don't have a handle on
the URB used, you can't cancel the request.

Is it ok in usbatm heavy_init ?


More information about the Usbatm mailing list