• 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: alloc init thread safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alloc init thread safe?


  • Subject: Re: alloc init thread safe?
  • From: David Carlisle <email@hidden>
  • Date: Thu, 8 Mar 2007 21:42:23 -0700

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.

_______________________________________________

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


  • Follow-Ups:
    • Re: alloc init thread safe?
      • From: j o a r <email@hidden>
References: 
 >alloc init thread safe? (From: email@hidden)
 >Re: alloc init thread safe? (From: Rosyna <email@hidden>)

  • Prev by Date: Re: alloc init thread safe?
  • Next by Date: NSURL Containing RTSP and Password?
  • Previous by thread: Re: alloc init thread safe?
  • Next by thread: Re: alloc init thread safe?
  • Index(es):
    • Date
    • Thread