On Fri, 4 May 2001, Greg KH wrote:

> On Thu, May 03, 2001 at 09:18:05AM +0200, Oliver Neukum wrote:
> > Hi listmembers,
> >
> > there was a request to explain how to get away from sleep_on and relatives.
>
> Any hints on how to replace interruptible_sleep_on_timeout() which is
> what is used in most of the usb-serial drivers?

add_wait_queue(...);
set_current_state(...);
start_some_io();
res=schedule_timeout(timeout);

        HTH
                Oliver



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to