Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 04 Aug 2015 07:49:03 +0200
From: Jens Gustedt <jens.gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: Re: New optimized normal-type mutex?

Am Montag, den 03.08.2015, 13:05 -0700 schrieb Isaac Dunham:
> On Mon, Aug 03, 2015 at 09:43:27PM +0200, Jens Gustedt wrote:
> > Am Montag, den 03.08.2015, 19:36 +0300 schrieb Alexander Monakov:
> > > > Now let us try to figure out what happens in the case that started
> > > > this new discussion, namely that there is so much contention such that
> > > > the probability of an EAGAIN-failure of the mutex call increases.
> > > 
> > > As long as we're talking in terms of futexes, it's EWOULDBLOCK, not EAGAIN.
> > 
> > Hm, yes I meant futex, but it really is EAGAIN that I observe. So the
> > man page seems out of sync with reality.
> 
> EWOULDBLOCK and EAGAIN are the same value (11), as specifically allowed
> by POSIX.

right, that explains it, thanks

Jens

-- 
:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::




Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

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.