Closed TheCodeSummoner closed 5 years ago
Either of these should be what you want:
>>> import pathos
>>> pathos.helpers.mp.Process
<class 'multiprocess.process.Process'>
>>> import multiprocess as mp
>>> mp.Process is pathos.helpers.mp.Process
True
>>>
Please close the issue if this answers your question.
Question:
How to recreate the following in pathos?
I am aware of
multiprocess.dummy.Process
, however, I am unsure if it's any different fromthreading.Thread
as it derives from it, and I would like to run a process rather than a thread.The application I am developing will be running multiple, distinct functionalities, so as far as I understand having a proper
Process
rather than aThread
is crucial. Does pathos provide a tool to run an infinite process like that?