Searched defs:atomicAdd (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DAtomics.h54 // atomicAdd returns the result of the addition.
55 ALWAYS_INLINE int atomicAdd(int volatile* addend, int increment) function in namespace:WTF
87 // atomicAdd returns the result of the addition.
88 ALWAYS_INLINE int atomicAdd(int volatile* addend, int increment) { return __sync_add_and_fetch(addend, increment); }
92 ALWAYS_INLINE int atomicIncrement(int volatile* addend) { return atomicAdd(addend, 1); }
234 using WTF::atomicAdd;

Completed in 244 milliseconds