6 Aug
2018
6 Aug
'18
10:48 p.m.
On Aug 6, 2018, at 9:54 PM, Martin Buchholz <martinrb@google.com> wrote:
I don't know what is actually being copied here, but can't the underlying type be atomic<address*> ?
Yes, if we are allowed to cast some random sequence of metadata words to atomic<address*>[]. If that's the magic incantation to get to the hardware's atomicity primitives, OK. I suspect a more direct technique may be needed, such as assembly code stubs. — John