One thing I can think of would be to use the Windows API to suspend and/or kill your threads via their threads->pid,
I guess you meant threads->tid. Even so, that wouldn't work as the thread id it returns is a Perl-internal id, not anything the OS would recognise. However, the cpan version of the threads module does export threads->_handle which could be used in conjunction with Win32::API to Terminate a thread, but like you, I would strongly warn against designing code to use this.
In reply to Re^2: how to kill a thread in windows
by BrowserUk
in thread how to kill a thread in windows
by rjsaulakh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |