Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Thread not registered mystery under GC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread not registered mystery under GC



On Mon, 25 Oct 2010 15:19:45 -0700, Bill Bumgarner said:

>Yes.  Call objc_registerThreadWithCollector() from the thread.

And presumably objc_unregisterThreadWithCollector() at the end of your
thread's function... yes?

Andy, also beware that those two functions are not properly marked as
weak, and so if your deployment target is < 10.6 and even if you test
them against NULL, you will crash. :(  <rdar://8508911>

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >Thread not registered mystery under GC (From: Andy O'Meara <email@hidden>)
 >Re: Thread not registered mystery under GC (From: Bill Bumgarner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.