4 ms·
It seems to be Python's "multiprogramming" module with some extra features. Python's parallelism options are "share everything (but with only one thread comput
by Animats 10y ago
It seems to be Python's "multiprogramming" module with some extra features.
Python's parallelism options are "share everything (but with only one thread computing at a time)", or "share nothing" in a different process on the same machine. If you're parallelizing to get extra crunch power, neither is efficient.
- dragonwriter 10y agoThe base multiprocessing modules isn't shared nothing (though it doesn't share the runtime, there are shared memory constructs that are available.) It's better described as having only explicit sharing (as opposed to classic threading models, which have implicit sharing.)