Re: NSThread in Debug mode loading code issue
Re: NSThread in Debug mode loading code issue
- Subject: Re: NSThread in Debug mode loading code issue
- From: Marc Van Olmen <email@hidden>
- Date: Sat, 17 Jun 2006 16:57:09 -0400
On 17 Jun 2006, at 16:11, James Bucanek wrote:
I doubt this has anything to do with ZeroLink, other than the
timing of ZeroLink is probably exposing a race condition in your
code. Or, said another way, ZeroLink slightly purturbs the timing
of your application and you see the bug.
If I had to take a wild guess (and without any other details), I'd
say that anObject is probably a global or an instance variable of
an object and you've started two threads using the same object.
These two threads are, therefore, sharing the same variable and one
is clearing the value while the second thread is trying to use it.
This is pretty common multi-thread bug.
It is a local variable so not that case.
marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden