On Mon, Sep 23, 2013 at 09:13:25AM +0200, Marin Ramesa wrote: > The idea is to implement a simple mutex using one atomic operation > combined with futex calls.
Use the algorithms presented in "Futexes are tricky", I personally won't accept anything less after 2010... -- Richard Braun