views:

71

answers:

1

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)

+1  A: 

This link has a reference to your problem, might help you out? http://github.com/jonathanpenn/wax/commit/1b9fc96f5b8c1ae1b7b89467c74662334833694c

alku83