bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] kern: simple futex for gnumach (version 4)


From: Richard Braun
Subject: Re: [PATCH] kern: simple futex for gnumach (version 4)
Date: Tue, 24 Dec 2013 18:07:26 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Dec 24, 2013 at 05:38:59PM +0100, Marin Ramesa wrote:
> I have read in "Futexes are tricky" that futex() is used with INT_MAX
> argument. I want to keep that usage. So, if a number of threads to
> wake is greater than number of threads in a futex I wake all.

And it also says everything else than 1 and INT_MAX make little sense
in practice.

Please, take the habit to re-read and reconsider every time I (or
someone else from the community) questions you about something. Don't
wait for us to reply to start thinking... I'm saying this because almost
every exchange we've had until now is 1/ you do something wrong 2/ I
tell you it's wrong 3/ you justify why you did something wrong without
making the effort to reconsider 4/ I show you it's definitely wrong
5/ you end up agreeing. Let's make it a 3-step process.

-- 
Richard Braun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]