> > http://lwn.net/Articles/68118/ > > Thanks for the reference. > > One would expect that if the only goal is to wait for a period of > time, then calls such as > interruptible_sleep_on(&my_wait); > should be ok, no? (Why one would do that is another issue of course;=20 > normally there is some condition to be met to break the sleep.) What about schedule_timeout? > There also seem to be a bunch of calls to fix the situation in the=20 > article, such as wait_event_timeout() which seem include both a timeout=20 > and a condition that must be met. Don't know when they were introduced. > > For example: > wait_event_timeout( wq, flag !=3D 0, sleep_jiffies); > wait_event_interruptible( wq, flag !=3D 0 ); -- Bora SAHIN -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/