Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-11-18 23:18:52

Alexander Terekhov wrote:


>> Ha ha ha... I guess I should of mentionned the Alpha with its 2
>> pipelines instead.
> Alpha is dead.

Those may be obsolete but there are some people out there still using it...

>>>> multithreaded environments. It looked like
>>>> shared_count_x86_exp2.cpp coudn't run on multiple platforms.
>>> Yeah. refcount<> (and compilers with not-rocket-science knowledge
>>> of atomics with "hoist" and "sink" barriers... and that's no matter
>>> how screwed is the hardware -- compilers may reorder "as well") is
>>> the way to go. I guess.
>> Before going further with those issues I would like to specify that
>> most of the time we do not need to know the content of the integer;
>> we only need to know whether it is null or not atomically... the
>> machine instructions "dec [counter]" immediately followed by "jne"
>> do that.
> You don't really need "portable asm" for that. C++ aside for a moment,

Do you have official source code we can start using?




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