On Jun 16, 2008, at 3:59 PM, Adam R. Maxwell wrote:

The confusion between "thread safe" and "main thread only" on this list hasn't helped, either...


From a documentation perspective there is no single or simple definition of "thread safe", it all depends on the context.

Some objects are not thread safe, and also have the restriction that they can only be used on the main thread. Other objects, while still not being thread safe, can be used on a non-main thread - As long as they're only used on one thread. Other objects, while still not thread safe, can be used from different threads - As long as they're only ever used from one thread at a single time. Et.c., et.c.

The complexity of this topic makes it difficult to create the same type of documentation that we enjoy for the simple API reference of classes and methods.


j o a r


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to