2 ms·
He should stop trying to test for Windows behaviour on Linux and use a VM. Having the multiprocessing module expose an option for turning off forking would be u
by blub 17y ago
He should stop trying to test for Windows behaviour on Linux and use a VM. Having the multiprocessing module expose an option for turning off forking would be useless, as Windows is not UNIX and there are many other subtle or not so subtle differences.
- neilc 17y agoIf multiprocessing exposed such an option, it would effectively be harder to write non-portable code, which seems like a good thing (to do optionally). You could then switch on "no, do a sensible fork(2)" purely as a performance optimization. Seems like a pretty obviously good thing to add.