0x114400a60 ?== 0x1029006e0 Assertion fails. The two are completely different as per previous results.
FYI, I do not create any run loops explicitly in my application, and can't think of anything I am doing which would create one implicitly. Regards Gideon On 08/12/2010, at 8:55 PM, Dave Keck wrote: >> You are correct. They are two different things: > > Alright, does the following assertion fail when placed before the > -performSelectorOnMainThread line? (Ignore the warning - using private > APIs.) > > id a = (id)[[[NSThread mainThread] runLoop] getCFRunLoop]; > id b = (id)CFRunLoopGetMain(); > NSLog(@"%p ?== %p", a, b); > assert(a == b); > > [anObject performSelectorOnMainThread: ...] > > Please respond with the output of the NSLog line too. > > The assertion succeeds in my own test app. I'm guessing it > fails/crashes in yours. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com