This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thus, my question: missing a correct, fully-fenced, exchange_and_add, is it possible a correct (albeit not optimally performing) implementation?!? I think this very basic question has not received a clear-cut answer yet. It is not a catastrophe if for 4.0.0 shared_ptr works in MT only on a subset of the targets (only x86, x86_64, ia64, for instance) but we *must* know, as soon as possible.
access reference-counted object X drop reference to X
drop reference to X destroy X as a result
access reference-counted object X drop reference to X memory barrier
drop reference to X memory barrier destroy X as a result
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |