On Fri, Jul 30, 2004 at 10:41:23AM +0200, Duncan Sands wrote: > > > > Hm, I don't see how this fixes anything. If we hold the semaphore, the > > urb will complete eventually, and then the semaphore will be released, > > and any one blocking on it will wake up, right? > > But no-one else can do anything while you're waiting... Remember that > this is a per-device semaphore, so you can't (for example) use usbfs to > talk with another interface while waiting for the bulk or control message to > complete. That could take quite some time, I'm talking several seconds > here. Also, this semaphore is shared with the core. The core also doesn't > want to have to wait several seconds for an urb to time out.
Yes, good point, forgot about that. Ok, I can accept that now. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel