Correct
> I thought this might not be necessary at all if using
> "interruptible_sleep_on_timeout" instead of "interruptible_sleep_on" but
> this seems to be a wrong assumption.
Interruptible_sleep_on_timeout will sleep for the event or the timer going
off. It returns the new timeout value. So it becomes
timeout=interruptible_sleep_on(&queue);
if(!timeout)
return -...
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/