in reply to Re^2: How to skip END blocks with threads?
in thread How to skip END blocks with threads?
and you're mixing threads with forks now?
Under windows, they are the same thing!
fork is emulated using threads.
Besides which, the only reason I need to use threads, is to import the threads->exit call, which simply terminates the current thread (fork-emulation) without terminating the process as exit or POSIX::_exit() would.
is this good or bad, I can't tell
I'm no great lover of the fork emulation--is has too many caveats to be particular useful--once once you've chosen to go that route, you're already using threads implicitly, so importing the extra routine to achieve the goal just makes sense.
|
|---|