public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Fundu <fundu_1999@yahoo.com>
To: linux-newbie@vger.kernel.org
Subject: wake_up_interruptible
Date: Tue, 11 May 2010 13:32:46 -0700 (PDT)	[thread overview]
Message-ID: <25990.28429.qm@web63403.mail.re1.yahoo.com> (raw)

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

             reply	other threads:[~2010-05-11 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 20:32 Fundu [this message]
2010-05-12  7:35 ` wake_up_interruptible Michał Nazarewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25990.28429.qm@web63403.mail.re1.yahoo.com \
    --to=fundu_1999@yahoo.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox