NSThread close (exit)
NSThread close (exit)
- Subject: NSThread close (exit)
- From: Yorh <email@hidden>
- Date: Wed, 5 Apr 2006 14:00:53 +0200
Hi to all,
I have a NSThread and I would like to exit from it from a external
method:
ie
-(void)startThread
{
[NSThread deatachNewThreadSelector ......];
}
-(void)stopThread{
[NSThread exit];
}
Of course if I exit from the thread in this way the stopped thread is
the main one... How can I select a specific thread?
I tried with an accessor method:
-(void)setThread:(NSThread*)aThread;
-(NSThread*)theThread;
But this not wok
Thank you all
Yorh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden