Boost logo

Boost :

Subject: Re: [boost] [interprocess] atomic<offset_ptr>
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2013-02-19 14:55:02


El 19/02/2013 18:15, Ion Gaztañaga escribió:

> Ok maybe we need to store an atomic<OffsetType> inside
> atomic<offset_ptr> and add a new constructor to offset_ptr taking an
> address and an offset. Would that be enough?

We already have a function to get the internal offset to complement the
constructor:

    offset_type get_offset() const
    { return this->internal.m_offset; }

Best,

Ion


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