Boost logo

Boost :

From: Gregory Dai (gregory.dai_at_[hidden])
Date: 2008-02-04 14:15:15

On Feb 3, 2008 5:20 AM, Phil Endecott <spam_from_boost_dev_at_[hidden]>

> Gregory Dai wrote:
> > I search "spinlock", which turned up nothing. Anyone aware of
> > such an implementation.
> A while ago I presented some benchmarks comparing different types of
> mutex including a spinlock. See e.g.

> My implementations at that time were just ad-hoc code for
> benchmarking. I've recently been turning it into something more useful
> and will post a message here about it soon.

Your implementation posted on is straightforward and efficient!
How does it compare with your latest version?

To make this cross-platform, we really need an implementation of
> atomics like e.g. N2427.

Your impl. is Linux-based, while Neil's is Windows exclusive. Perhaps you
could cooperate with Neil and come up with a joint contribution?


Boost list run by bdawes at, gregod at, cpdaniel at, john at