Re: alloc init thread safe?
Re: alloc init thread safe?
- Subject: Re: alloc init thread safe?
- From: j o a r <email@hidden>
- Date: Fri, 9 Mar 2007 08:29:05 +0100
If you bump into something in Xcode that you would like to see
improved, don't forget to file bug reports / enhancement requests!
For example, I don't think that this thread safety issue is mentioned
in the documentation on ZeroLink (at least not in the Xcode User Guide).
j o a r
On 9 mar 2007, at 05.42, David Carlisle wrote:
This is exactly what I am dealing with. I am sending the first and
second message to the class CM_Analyzers in a kind of race
condition between two threads, and one thread often fails. I
notice the problem is gone if I switch off ZeroLink in debug mode.
I also note the problem, as I recall, doesn't occur after the first
instance.
On Mar 8, 2007, at 6:44 PM, Rosyna wrote:
The first message to a Class is *not* threadsafe when ZeroLink is
on. This is why the problem disappears in Release mode, because
ZeroLink is always off in Release mode.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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