> Note that on SMP architectures there is a race between open() and 
> disconnect().  You will have to use a static semaphore to prevent the 
> possibility of someone calling open() (thereby trying to access your data 
> structures) at the same time a disconnect() occurs (thereby freeing 
> those same data structures).

Not really limited to SMP. disconnect() has to unlink URBs which means
that it schedules.

        Regards
                Oliver



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to