Re: NSInvocationOperations mysteriously whacked out of NSOperationQueue

2011-09-14 Thread Jerry Krinock
On 2011 Aug 24, at 23:30, Ken Thomases wrote: > At a guess, the NSOperationQueue may be dequeuing operations using something > like -[NSMutableArray removeObject:] instead of -[NSMutableArray > removeObjectIdenticalTo:]. Thus, it is depending on -isEqual:. I further > guess that NSInvocation

Re: NSInvocationOperations mysteriously whacked out of NSOperationQueue

2011-08-24 Thread Ken Thomases
On Aug 25, 2011, at 12:15 AM, Jerry Krinock wrote: > I discovered a bug in my app today caused by the following repeatable > behavior: When one particular NSInvocationOperation in an NSOperationQueue > executes, two others get whacked out of the queue, and thus never execute. > All but three o

NSInvocationOperations mysteriously whacked out of NSOperationQueue

2011-08-24 Thread Jerry Krinock
SHORT STORY I discovered a bug in my app today caused by the following repeatable behavior: When one particular NSInvocationOperation in an NSOperationQueue executes, two others get whacked out of the queue, and thus never execute. LONG STORY Starting with an empty NSOperationQueue, which I h