
3 Feb
2008
3 Feb
'08
1:20 p.m.
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.