Messages in this thread | ![/](/images/icornerl.gif) | | From | Oliver Neukum <> | Subject | Re: question on macros in wait.h | Date | Fri, 21 Mar 2003 12:38:02 +0100 |
| |
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/
| ![\](/images/icornerr.gif) |