I an trying to put a method in a separate thread in the background. It nearly works except that occasionally I get a lot of error messages with the message
METHODCLOSURE: OH NO SEPERATE THREAD
with the bad spelling and all.
Does anyone know what this means? The thread runs, interestingly
More specifically: I invoke a background process via
[self performSelectorInBackground:@selector(finishedRunningThreadData:) withObject:e];
The method is
- (void)finishedRunningThreadData:(NSString *) e
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
//call iPhone-wax methods here which might call ObjC thread.
[pool release];
}
Answer: The error message comes from wax-iPhone. It first check which thread it running. (wax-instance.h line 337)