Add atomic memory operations for more types
authorPyry Haulos <phaulos@google.com>
Fri, 11 Dec 2015 22:21:31 +0000 (14:21 -0800)
committerPyry Haulos <phaulos@google.com>
Fri, 11 Dec 2015 23:46:26 +0000 (15:46 -0800)
commit6e9faa345afd39392a765c3585b75be2d202ca3b
tree33690201ed69576895854a25be15c6b1d926d1c8
parent801b508c8d5f464df5ae792d48909d2df8574141
Add atomic memory operations for more types

 * Add separate unsigned increment/decrement functions, rename old to
include signedness.

 * Add 64-bit atomics for 64-bit build targets.

 * Add atomic increment/decrement for size_t

 * Add atomic CAS for pointers

Change-Id: I1a096c57bab868cafa9ff776bcef434631ca406c
framework/delibs/dethread/deAtomic.h
framework/delibs/dethread/deThreadTest.c