mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Hydro Flask <hydroflask@yqxmail.com>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Idea: futex() system call entry point
Date: Fri, 17 Jul 2020 08:10:59 +0200	[thread overview]
Message-ID: <87pn8uwu18.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <04c05d65470b5c94808481eaf724cc5d@yqxmail.com> (Hydro Flask's message of "Thu, 16 Jul 2020 22:51:02 -0700")

* Hydro Flask:

> I have a project that implements an API that must be AS-safe.

> Had the idea of using futex() but my other constraint is that the
> blocking call must also be a cancellation point.

Cancellation points in signal handlers lead to asynchronous
cancellation.  Are you sure that this is what you want?

Thanks,
Florian


  reply	other threads:[~2020-07-17  6:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17  5:51 Hydro Flask
2020-07-17  6:10 ` Florian Weimer [this message]
2020-07-17  6:29   ` Hydro Flask
2020-07-17  9:21     ` Szabolcs Nagy
2020-07-17 14:43       ` Carlos O'Donell
2020-07-17 18:57         ` Hydro Flask
2020-07-17 21:10           ` Szabolcs Nagy
2020-07-17 21:19             ` Rich Felker
2020-07-17 21:27               ` Carlos O'Donell
2020-07-17 21:37               ` Hydro Flask
2020-07-17 23:30                 ` Rich Felker
2020-07-18  1:21                   ` Hydro Flask
2020-07-18  7:56                     ` Szabolcs Nagy

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=87pn8uwu18.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=hydroflask@yqxmail.com \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).