Mike Ash goes atomic

Mike Ash: A Tour of OSAtomic:

There are many rules to follow when writing threaded code, but the most important one is this: lock all access to shared data... Atomic operations allow you to sidestep this requirement and access shared data without using locks.

It’s articles like this that make me want to have Mike officially declared as a national landmark.

04 Mar 2011