David Brownell wrote: > > Wouldn't a plain old atomic "BUSY" bitflag work better? If it's set, > usbcore would reject urbs with -EAGAIN ... from all contexts, > including the many that can't acquire semaphores! >
Going back a bit--what context were you thinking of that wouldn't be able to grab the semaphore--are you talking about a userspace program that talks to a USB device URB-by-URB, instead of using a driver like usb-storage? ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel