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