From: "Michał Nazarewicz" <m.nazarewicz@samsung.com>
To: Fundu <fundu_1999@yahoo.com>, linux-newbie@vger.kernel.org
Subject: Re: wake_up_interruptible
Date: Wed, 12 May 2010 09:35:09 +0200 [thread overview]
Message-ID: <op.vck0ovk47p4s8u@pikus> (raw)
In-Reply-To: <25990.28429.qm@web63403.mail.re1.yahoo.com>
On Tue, 11 May 2010 22:32:46 +0200, Fundu <fundu_1999@yahoo.com> wrote:
> 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
It will be waiting for another wake up.
> What i'm looking for is a mechanism where by any old wake if not acted upon are lost.
Semahore may be a good option.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
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
prev parent reply other threads:[~2010-05-12 7:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 20:32 wake_up_interruptible Fundu
2010-05-12 7:35 ` Michał Nazarewicz [this message]
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=op.vck0ovk47p4s8u@pikus \
--to=m.nazarewicz@samsung.com \
--cc=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