Alan Stern wrote:

You're right. Normal drivers should never have to worry about the config changing out from under them. But they might want to block disconnect() or notify_reset() at certain times. Oliver seems to think that's better done using a private semaphore rather than serialize. What do you think?

As a rule, using fewer locks is better.


I'm not sure I agree that drivers should be able to block those calls.
But if there's a real need, it'd clearly be rare; and I suspect that
using dev->serialize would suffice.

- Dave




------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to