public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* wake_up_interruptible
@ 2010-05-11 20:32 Fundu
  2010-05-12  7:35 ` wake_up_interruptible Michał Nazarewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Fundu @ 2010-05-11 20:32 UTC (permalink / raw)
  To: linux-newbie

Hi,

what happen when you call wake_up_interruptible and there are no task waiting on that wait queue right then. 

But say after some time a task comes along and start waiting (after the wake_up_interruptible is called). 
Would that task be not wait at all because there was a pending wake up

What i'm looking for is a mechanism where by any old wake if not acted upon are lost. so in the above mention case if a task come along and waits after a wake has been sent, it continues to wait until a next wake up is sent.

feel free to ask me if there is some more clarification required.

TIA

fundu 



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-12  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 20:32 wake_up_interruptible Fundu
2010-05-12  7:35 ` wake_up_interruptible Michał Nazarewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox