Termination of threads.
Termination of threads.
- Subject: Termination of threads.
- From: email@hidden
- Date: Fri, 8 Feb 2002 16:08:03 -0500
Hello, everybody.
I want to be able to terminate Threads within my application. Cocoa
seems to define only one function that will be able to do what I want,
namely the [NSThread exit]. However, while looking at the docs I saw the
plus. Ooops. Things seem more complicated than that...
As far as I get it, I need to set up a proxy object from the callee
thread (my UI interface) to the thread that has to be terminated. Then,
I invoke a function through the proxy and the thread receives the
message and terminates itself.
Question 1: Will this work?
Question 2: Is there a better/quicker/more elegant way of doing this? I
hate Cocoa's complicated inter-thread communication system.
Thank you very much for any input.
Nick
_______________________________________________
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.