From: Milosz Tanski <milosz@adfin.com>
To: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@timesys.com>,
Eric Dumazet <dada1@cosmosbay.com>,
Darren Hart <dvhltc@us.ibm.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: futex: wake explicit / wait on multiple memory locations
Date: Wed, 23 Jul 2014 12:25:24 -0400 [thread overview]
Message-ID: <53CFE1F4.60705@adfin.com> (raw)
I'm using futexes to control scheduling for a userspace application with multiple queues. There's a global work queue and a specific pre-thread queue. And I would like to have a choice between waking up any thread or a specific thread.
Is there are mechanism in the futex API by which I can control which thread to wake up. Or alternatively a mechanism by which have a thread wait on multiple futex memory locations?
Thanks in advance,
- Milosz
next reply other threads:[~2014-07-23 16:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 16:25 Milosz Tanski [this message]
2014-07-23 22:32 ` futex: wake explicit / wait on multiple memory locations Davidlohr Bueso
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=53CFE1F4.60705@adfin.com \
--to=milosz@adfin.com \
--cc=dada1@cosmosbay.com \
--cc=dvhltc@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@timesys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.