Am Mittwoch, 22. Januar 2003 22:32 schrieb Alan Stern:
> Here is my patch to implement proper timing of synchronous unlinks.
> Basically it just uses a spinlock to cause unlink requests during a
> completion handler to wait until the handler has returned before carrying
> out the unlink.  This seems like a pretty small and uninvasive sort of
> change.

But sadly, not quite right. In the code path leading to calling the
completion handler, you are grabbing the lock too late. In that window
unlinking can fail.

        Regards
                Oliver



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to