That's right, atomic operations work just fine for memory shared between processes. I have worked on a commercial product that used this everywhere.