[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Implementing a simple mutex using simple locks and futex calls
From: |
Marin Ramesa |
Subject: |
Re: [RFC] Implementing a simple mutex using simple locks and futex calls |
Date: |
Mon, 23 Sep 2013 11:34:36 +0200 |
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.