Re: waiting on a condition

From: Alan Cox
Date: Fri Oct 15 2004 - 09:19:33 EST


On Mer, 2004-10-13 at 21:58, Martijn Sipkema wrote:
> wait_event() seems to be what I was looking for; I don't really like the
> condition being an argument.

If you look at how it unwraps it is quite hard to do any other way.
You can always pass myfunction() as the condition which is what I do
in for example the new tty code.


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