• 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: Deadlock during NSCache flush
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deadlock during NSCache flush


  • Subject: Re: Deadlock during NSCache flush
  • From: Greg Parker <email@hidden>
  • Date: Wed, 23 Oct 2013 11:01:53 -0700

On Oct 22, 2013, at 7:33 PM, Maxthon Chan <email@hidden> wrote:
> Despite ARC banned retain/release/autorelease functions, there are still alternatives there in the form of C functions:
>
> From CoreFoundation <CoreFoundation/CoreFoundation.h>:
> CFRetain() = retain
> CFRelease() = release
> CGBridgingRelease() = autorelease

CFBridgingRelease does not autorelease.


> From LLVM’s requirements to runtime for ARC to work, as prototyped in GNUstep’s <objc/objc-arc.h>:
> objc_retain() = retain
> objc_release() = release
> objc_autorelease() = autorelease
>
> Prototypes:
> id objc_retain(id);
> void objc_release(id);
> id objc_autorelease(id);

Do not call these functions directly.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

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: 
 >Deadlock during NSCache flush (From: Jens Alfke <email@hidden>)
 >Re: Deadlock during NSCache flush (From: ChanMaxthon <email@hidden>)
 >Re: Deadlock during NSCache flush (From: Jens Alfke <email@hidden>)
 >Re: Deadlock during NSCache flush (From: Jens Alfke <email@hidden>)
 >Re: Deadlock during NSCache flush (From: Jens Alfke <email@hidden>)
 >Re: Deadlock during NSCache flush (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: UIDocument's fileType reports wrong UTI.
  • Next by Date: Is 10.9 ready for production development?
  • Previous by thread: Re: Deadlock during NSCache flush
  • Next by thread: Re: Deadlock during NSCache flush
  • Index(es):
    • Date
    • Thread