On 23.09.2013 10:35:34, Richard Braun wrote: > 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...
I do, it's actually the version from 2011. I just added the lock to the mutex.