in reply to Re^5: In a multithreading Perl Code How to Exit one thread while outher thread keeps running ?
in thread In a multithreading Perl Code How to Exit one thread while outher thread keeps running ?
The POSIX model is that when the primary thread ("main") ends, so do all the others. Perl follows this model.
In theory the Windows model should allow other threads to complete without the primary thread, but the C RTL is not implemented in this way: exiting the primary thread calls ExitProcess().