Boost logo

Boost :

From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-11-26 15:52:09


Yitzhak Sapir wrote:

[...]

> What is totally broken about it? Can you direct me to the discussion
> of the problem issues with the lightweight mutex? (Based on the
> empiric results mentioned above we've moved to using a private
> implementation of a spinlock, that is not portable yet. But we're
> interested).

Still, I do not understand why anyone isn't interested into assembler
reference count atomic arithmetics. I have read a discussion Gregory knows
about, there is another assembler solution from Zoolib:
http://cvs.sourceforge.net/viewcvs.py/*checkout*/zoolib/zoolib/src/foundatio
n/ZAtomic.cpp?rev=1.8

Here is a simpler one targeting x86 only:
http://fornux.com/personal/philippe/devel/atomic_x86.hpp

[...]

Philippe


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