Re: nsthread_kill()
Re: nsthread_kill()
- Subject: Re: nsthread_kill()
- From: Ondra Cada <email@hidden>
- Date: Sun, 5 May 2002 13:23:45 +0200
On Sunday, May 5, 2002, at 09:31 , Aram Greenman wrote:
Seriously, though, how can one thread ask another thread to exit? Right
now I periodically check to see if a flag has been set in the thread's
'owner', which works, but just seems cheap... plus I would rather be able
to shut down the thread immediately, although after some cleanup.
So as you *can* do the cleanup, the "ask it to suicide" is the only safe
way.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.