Created by: cbusbey
used for tests, addresses OSAtomicCompareAndSwapPtrBarrier warning seen on macs
OSAtomicCompareAndSwapPtrBarrier