On Tue, Nov 09, 2004 at 05:10:03PM +0100, Martin Nilsson (DivX Networks) @ Pike (-) developers forum wrote:
pike_threadlib, when using NT_THREADS there is no th_kill. How solve that?
There is TerminateThread() in Win32 API, but I doubt it can be used safely... Any non-isolated thread killed out of context (i.e. if not exited gracefully) is a danger to process. Not that it may cause segfaults, but resource leaks are most likely consequence...
Regards, /Al