2010-10-03

Personal Note: NSOperation and NSOperationQueue and atomicity.

I may need to review this later.

bbum's weblog-o-mat entry about atomicity, properties, and threading.

Main point I'm getting: don't have two threads (NSOperations) operating on the same instance variables of the same object unless you really, really must, and if you're still thinking you do, then you're probably wrong.

Oh, and atomic != thread-safe != syncronized.

No comments:

Post a Comment