Thank you so much for your explanation. Now I am quite clear on this topic.
Domen, Sorry for my misspelling of your name. That should be "Domen" not "Momen". Sorry for that. :) BR Ming >From: Domen Puncer <[EMAIL PROTECTED]> >To: Ming Liu <[EMAIL PROTECTED]> >CC: Linuxppc-embedded@ozlabs.org >Subject: Re: basic and stupid question on wait_event and wake_up >Date: Mon, 13 Aug 2007 11:31:07 +0200 > >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 _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded