• 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: Screensaver won't run on 10.6 even after porting to 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screensaver won't run on 10.6 even after porting to 64-bit


  • Subject: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • From: Greg Parker <email@hidden>
  • Date: Mon, 12 Oct 2009 13:50:19 -0700

On Oct 11, 2009, at 7:46 PM, Ben Haller wrote:
Besides that, I just needed to change a few retains and releases around, because I was mixing CF calls and Cocoa calls in an inconsistent way in a few places. And that was it; as far as I can tell, it now runs nicely on all the target platforms. I almost decided that I needed to use an NSPointerArray for something in the GC-supported case, in which case perhaps I would have had to #ifdef; but it turned out that a mutable CFArray with null callbacks was sufficient.

Be careful. Any CF container with null callbacks is extremely dangerous in GC. It's easy to create a situation where the container or a reader of the container gets a pointer to an object that the GC has thrown away.



-- 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: 
 >Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Dave Keck <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Clark Cox <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Kyle Sluder <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Kyle Sluder <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Clark Cox <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)

  • Prev by Date: Re: Problem with OpenSSL header files
  • Next by Date: [Q] How to populate custom button of QuickTime media control?
  • Previous by thread: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Next by thread: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Index(es):
    • Date
    • Thread