• 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: @synchronized crashing with ARC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @synchronized crashing with ARC


  • Subject: Re: @synchronized crashing with ARC
  • From: Antonio Nunes <email@hidden>
  • Date: Thu, 31 May 2012 18:52:30 +0100

On 31 May 2012, at 17:00, Jens Alfke wrote:

> Huh? I thought the parameter to @synchronized(…) had to be an object reference?

Well, yes, but my understanding was/is that it was essentially about the pointer, and this formula worked just fine until I migrated to ARC. I think Scott is right that ARC expects a memory managed object and that is not what I was supplying. No trouble changing it to a more traditional reference, and that appears to work.

-António

-----------------------------------------
Accepting others as they are
brings a wonderful freedom
to your own mind.

--The Peace Formula
-----------------------------------------




_______________________________________________

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


References: 
 >@synchronized crashing with ARC (From: Antonio Nunes <email@hidden>)
 >Re: @synchronized crashing with ARC (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: @synchronized crashing with ARC
  • Next by Date: Re: @synchronized crashing with ARC
  • Previous by thread: Re: @synchronized crashing with ARC
  • Next by thread: Re: @synchronized crashing with ARC
  • Index(es):
    • Date
    • Thread