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.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |