Revert f32f5d3, atomic operations are mandatory in multithread

In monothread, compile with -DIGNORE_NO_ATOMICS flag.