public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gilles Carry <Gilles.Carry@ext.bull.net>
To: linux-kernel@vger.kernel.org
Subject: Is it possible to have a robust futex outside of a mutex?
Date: Thu, 04 Oct 2007 16:14:43 +0200	[thread overview]
Message-ID: <4704F553.5020300@ext.bull.net> (raw)

Hi,

Is there is any way to use a robust futex without an associated mutex?
In the kernel, exit_robust_list only handles futexes associated with a mutex (through futex_offset).
Implementation of pthread_cond_xxx (broadcast, wait, ...) functions uses several futexes (lll_lock) in glibc which cannot be handled as robust.
However a thread locking one of these internal futexes can be killed while there are other waiters.
Am I right?

Thanks.
G+

                 reply	other threads:[~2007-10-04 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4704F553.5020300@ext.bull.net \
    --to=gilles.carry@ext.bull.net \
    --cc=linux-kernel@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