On Jul 7, 2011, at 4:25 PM, Greg Parker wrote: > This is less safe than you might like. On iOS and 64-bit Mac, you may end up > with both copies of the class in use simultaneously. That means two separate > invocations of +initialize, two separate locks for @synchronized([MyClass > class]), etc.
How’s that? I thought there would only ever be one instance of the class loaded at a time. —Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com