• 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
NSThread does not respond the the 'exit' message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSThread does not respond the the 'exit' message


  • Subject: NSThread does not respond the the 'exit' message
  • From: Judi Smith <email@hidden>
  • Date: Mon, 18 Feb 2002 18:25:06 -0600

Hello all:

I'm really confused here. I've finally gotten my process off in its own thread and it works great. Now I need to terminate the thread. I am using notifications to communicate between the threads and that seems to be working fine. However, when I attempt to return from the initial selector, the thread doesn't terminate and further - what is really confusing - I decided to just use

[[NSThread currentThread] exit]

and the compiler gives me the warning "NSThread does not respond to the 'exit' message." As far as I can tell for all of the docs that I have read, exit is a valid method of NSThread.

So what am I missing?

TIA
Judi Smith
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSThread does not respond the the 'exit' message
      • From: John Saccente <email@hidden>
  • Prev by Date: Re: NSToolbar question
  • Next by Date: Re: Japanese vertical text
  • Previous by thread: Re: NSToolbar question
  • Next by thread: Re: NSThread does not respond the the 'exit' message
  • Index(es):
    • Date
    • Thread