• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: nsthread_kill()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >nsthread_kill() (From: Aram Greenman <email@hidden>)

  • Prev by Date: An NSTask can only be run once ??
  • Next by Date: Re: An NSTask can only be run once ??
  • Previous by thread: nsthread_kill()
  • Next by thread: An NSTask can only be run once ??
  • Index(es):
    • Date
    • Thread