NSThread does not respond the the 'exit' message
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.