Re: question on macros in wait.h

From: Oliver Neukum (oliver@neukum.name)
Date: Fri Mar 21 2003 - 06:38:02 EST


Am Freitag, 21. März 2003 07:52 schrieb David Brownell:
> > is there some deeper reason that there's no macro for waiting
> > uninterruptablely with a timeout? Or did just nobody feel a need
> > as yet?
>
> Those macros seem to have moved out of <linux/sched.h> (2.4)
> and wait_event_interruptible_timeout() was added about 6
> months ago; the changelog entry says it was for smbfs.
> So I'd guess "no need yet".
>
> Here's an updated version of your patch, now using the same
> calling convention that the other two "can return 'early'"
> calls there provide. It's behaved in my testing, to replace the
> chaos in the usb synchronous call wrappers.

Much better than my version.

        Regards
                Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:35 EST