Boost logo

Boost :

From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2008-01-18 18:23:57

On Jan 18, 2008 11:57 PM, Andrey Tcherepanov <moyt63c02_at_[hidden]> wrote:
> Well, according to
> it might be dangerous to rely on the fact that top 16 bits are not
> currently used.

You need only to rely on it on older machines that do not have DCAS.
Microsoft has a lock free list that
chooses at runtime whether to use plain CAS with 48 ptr + 16 bit ABA
counter (actually it is probably something like 44/20
by relying on minimum alignment), or DCAS on more recent machines.


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