Open redsum opened 5 years ago
Yes, the processes=
keyword is really just syntactic sugar around using the Nanny
rather than the Worker
class.
What is it that you're trying to achieve?
I'm using multiprocessing, and i want to have a custom initialization for each process So i use the c'tor of the worker to perform the initialization
But the main point here is that There shouldn't be a difference in API of multiprocessing and Multithreading
this will fail
while this will pass