Reviewers: Michael Starzinger, Benedikt Meurer,

Message:
RFC

We definitely have the need for some atomic primitives (values/counters, sets, flags) in heap/ in future. The idea is to encapsulate the underlying storage to avoid using it directly. I would like to avoid re-implementing atomic counters
all the time but also prohibit unsynchronized access.

I did not add too much operator overloads to keep things simple.

wdyt in general? Also, keep it in src/, or move it to src/heap/?


Description:
Add atomic utilities.

BUG=

Please review this at https://codereview.chromium.org/1310993004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+135, -0 lines):
  A src/atomic-utils.h


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to