3 ms·
> To run Python code in a separate process with some set of initial data, it basically pickles it in the parent and then unpickles it in the child. FWIW, the s
by loeg 7y ago
> To run Python code in a separate process with some set of initial data, it basically pickles it in the parent and then unpickles it in the child.
FWIW, the subinterpreter threading scheme will also use a similar message passing construct to pass values between interpreters. As the sibling comment mentions, it's just a message passing scheme.
That said,
> I've looked at the multiprocessing source code, and to me it looks like a hairball of bugs just waiting to happen.
I have as well, and completely agree.
- stuaxo 7y agoCame here just to agree.