mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Compile-time flag to enable optional EINTR's?
Date: Fri, 7 Sep 2018 09:15:08 -0400	[thread overview]
Message-ID: <20180907131508.GK1878@brightrain.aerifal.cx> (raw)
In-Reply-To: <CABpewhFEqn1H7hLxxp53beNwzeAPhsu6n-C9gJnThYcLkc4wcw@mail.gmail.com>

On Fri, Sep 07, 2018 at 12:09:33AM -0400, Joseph C. Sible wrote:
> > Can you discuss what you're trying to use EINTR for here?
> 
> It's for a Python program with several threads that are often waiting
> on various locks, events, etc., all implemented by Python in terms of
> POSIX semaphores.

I seem to recall Python's testsuite having a test asserting that POSIX
semaphores respond to interrupting signals, so it sounds like the
underlying problem is that Python is implementing some of its
primitives with a non-portable assumption. I'll take a look or see if
someone else from the community wants to.

Rich


  reply	other threads:[~2018-09-07 13:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07  1:26 Joseph C. Sible
2018-09-07  2:16 ` Rich Felker
2018-09-07  4:09   ` Joseph C. Sible
2018-09-07 13:15     ` Rich Felker [this message]
2018-09-07 13:57       ` Joseph C. Sible

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=20180907131508.GK1878@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --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).