> > What's wrong with using the fine macros provided in 2.5 to sleep with
> > TASK_INTERRUPTIBLE and unlink in the interruption case?
>
> The current synchronous calls force TASK_UNINTERRUPTIBLE,
> and I don't know what macros you're talking about that
> would do all that.  Is there some other synchronous API
> for urbs, about which I'm unaware?

Sorry, I was confused and thought you'd refer to ordinary usb_submit_urb().

Indeed there is a problem. Yet we cannot simply change them all to use
interruptible sleep. You cannot stop in the middle of usb_reset_device()
or similar calls.
Should we simply add a flag to the synchronous calls or add interruptible
versions?

        Regards
                Oliver



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to