Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180907131508.GK1878@brightrain.aerifal.cx>
Date: Fri, 7 Sep 2018 09:15:08 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Compile-time flag to enable optional EINTR's?

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.