When trying code that looks like this, mainly for testing
NSInvocationOperation *operation = [NSInvocationOperation alloc];
operation = [operation initWithTarget:self
selector:@selector(dosignup:)
object:params];
while ( ![operation isFinished] ) [NSThread sleepForTimeInterval:0.1];
[operation release];
The dosignup never gets called. So then I have to assume that the selector does not get called until the main thread processes this, not at time of queue insert like a fork and / or a thread on .NET… Anyway to force the queue to processes the thread?
you have to add your operation to a NSOperationQueue or you have to start it manually.
or
But I don’t know what you really want to do, because your code makes only little sense right now.