Extract atomic_int into its own header/implementation file, tpie/atomic.h/cpp.
blockSize is a memory_size_type.