Re: alloc init thread safe?
Re: alloc init thread safe?
- Subject: Re: alloc init thread safe?
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 8 Mar 2007 11:34:54 -0800
On Mar 8, 2007, at 11:09 AM, David Carlisle wrote:
if I have an C2_alloc_init method randomly returning a null, and
another method randomly returning a NO, that seems to be the same
problem, if NO == null.
Right -- I asked about warnings because seemingly random return values
are often the result of ignoring warnings. Go for the obvious /
simple solution first, even if unlikely, then dive deeper.
Everything works as expected with threading disabled? Zerolink is off
(it can be a bear at times)? Any behavior change between deployment
and debug builds? Changing the optimization level show anything new
(the compiler can do additional safety checks w/optimization enabled)?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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