• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Thread safe reference counting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread safe reference counting


  • Subject: Re: Thread safe reference counting
  • From: "Michael Ash" <email@hidden>
  • Date: Sun, 29 Jun 2008 20:30:41 -0400

On Sun, Jun 29, 2008 at 7:12 PM, Chris Suter <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Thread safe reference counting
      • From: atebits <email@hidden>
References: 
 >Thread safe reference counting (From: atebits <email@hidden>)
 >Re: Thread safe reference counting (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Scrolling during zoom
  • Next by Date: Re: Thread safe reference counting
  • Previous by thread: Re: Thread safe reference counting
  • Next by thread: Re: Thread safe reference counting
  • Index(es):
    • Date
    • Thread