I have googled for atomic increment and decrement operators on Mac OS X and found \"OSAtomic.h\", but it seems you can only use this in kernel space.
Jeremy Friesner poi
Currently, the recommendation is to use C++11's std::atomic.
std::atomic