• 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: External kill of an NSThread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External kill of an NSThread?


  • Subject: Re: External kill of an NSThread?
  • From: "Gurmit Teotia" <email@hidden>
  • Date: Tue, 21 Nov 2006 18:20:00 +0530

I agree with John. You must try to debug the issue instead of just
killing. Technique suggested by Gregory can only work if this thread
get the chance to check some condition but what if it stuck
somewhere...?

Gurmit

On 11/21/06, Gregory Weston <email@hidden> wrote:
Roland Torres wrote:

> How does one kill an NSThread from another thread?

By setting a flag or otherwise triggering a condition that the thread
in question has been coded to recognize as a signal to clean up and
exit at the next opportunity.


_______________________________________________ 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

_______________________________________________
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


References: 
 >Re: External kill of an NSThread? (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: KVO and relationships
  • Next by Date: Yielding an NSThread-started thread
  • Previous by thread: Re: External kill of an NSThread?
  • Next by thread: NSTextFieldCell Subclass for Image+Text, any faster way?
  • Index(es):
    • Date
    • Thread