> I'm new to thread programming. I need to kill the thread in a void function.
Let the function end. It's that simple. > How can I do this? You can't just kill a thread. You can let the function return when it's finished. You can arrange some way to signal it to exit, and have it return when it sees the signal (and this includes the POSIX function to "kill" a thread). But there is no function to simply terminate one thread from another, because there is NO WAY to create a function to do that safely. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]