Make buffer Atomic.