Your best bet -- have a flag that the thread can check for exiting. Terminating a thread from outside the thread could leave resources locked and unavailable.
On Jan 2, 2010, at 9:49 PM, Tharindu Madushanka wrote: > I am creating a thread with method detachNewThreadSelector: > > How could I stop the thread while it is running ? -- Glenn L. Austin, Computer Wizard and Race Car Driver <>< <http://www.austin-soft.com> _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
