Awesome, thanks.

I remember reading that page, just completely missed the "Object allocation and retain count functions" note in the list.

Loren

On Jun 29, 2008, at 5:30 PM, Michael Ash wrote:

On Sun, Jun 29, 2008 at 7:12 PM, Chris Suter <[EMAIL PROTECTED]> wrote:

On 30/06/2008, at 9:06 AM, atebits wrote:

Perhaps I'm blind, but after pouring over every scrap of information I
could find, I could not find the answer to this question.

Are -retain and -release thread-safe? (Perhaps as atomic
increments/decrements internally?)

Yes, -retain and -release are thread-safe. It's in the documentation
somewhere.

Here:

http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/chapter_950_section_2.html

Mike
_______________________________________________

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/loren.brichter%40atebits.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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