On Mon, 17 Mar 2003, Oliver Neukum wrote: > Am Montag, 17. März 2003 21:09 schrieb David Brownell: > > You know, in all this email I think one of the key issues > > has somehow not gotten brought out: the need to let the > > I/O requests get canceled when the task gets signaled. > > Or at least having an option to do that. > > You mean signalled as in Ctrl-C? > In what regard don't we support that? We have no general connection > of URBs with tasks, at least not in all cases. > What's wrong with using the fine macros provided in 2.5 to sleep with > TASK_INTERRUPTIBLE and unlink in the interruption case?
The problem is that drivers may choose to use the usb_bulk/control_msg() functions to perform their I/O, and these sleep in TASK_UNINTERRUPTIBLE. They don't have any support for fielding signals. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel