Boost logo

Boost :

From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2008-02-03 08:20:11


Gregory Dai wrote:
> I search "spinlock" @boost.org, 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. http://thread.gmane.org/gmane.comp.lib.boost.devel/166875.

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.

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

Phil.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk