On Thu, 15 Jan 2004, Wolfgang Mües wrote:

> Hello,
> 
> On Wednesday 14 January 2004 23:10, Alan Stern wrote:
> 
> > Now a more interesting item, not yet entirely certain:
> >
> >     struct usb_device->serialize will become a read-write semaphore.
> >
> > Also, a driver is guaranteed that the semaphore will be held when its
> > probe() and disconnect() routines are called.
> >
> > In general, a driver can acquire the serialize semaphore whenever it wants
> > to block one of the functions above temporarily.
> 
> Will there be function calls / macros for this semaphore handling?
> So that you can change implementation without breaking interface?

I'd prefer to leave that up to other people.  It's such a small thing, and
for some time there won't be too many places where it is used outside the
core.

Alan Stern



-------------------------------------------------------
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