make all objects used with atomic operations volatile