Detect atomic write.