added atomicCompareAndSet32/64