basic and stupid question on wait_event and wake_up
Domen Puncer
domen.puncer at telargo.com
Mon Aug 13 19:31:07 EST 2007
On 13/08/07 09:22 +0000, Ming Liu wrote:
> Dear Momen,
> OK. I see now. So you mean condition is only to judge whether a sleeping
> process could be waken up or not when wake_up() is executed in other
> processes or interrupt handlers. What really wakes the process up is still
> the function of wake_up, right? We just execute wake_up() and then check if
> condition is true. If yes, the process will leave its sleeping and wake up;
> if not, it keep sleeping. Am I right?
Right.
Domen
More information about the Linuxppc-embedded
mailing list