robbuckley <r...@buckleynet.uk> added the comment:

hi, 
as the reporter i just want to say this is working for me with 3.6.3. 

Regarding https://bugs.python.org/issue30581#msg301150, I take your point that 
a lot of multiprocessing using the standard libraries may not benefit, as 
processes may be restricted to the processor group of the parent process 
(python). 

For my use case it works well: I launch a queue of blocking jobs, using a 
thread pool. Each thread launches 1 jobsubprocess.subprocess.run(), where the 
thread pool size is equal to number of processors reported by os.cpu_count(). 
Since the OS controls the scheduling in this case, it works perfectly well with 
2 processor groups. 

thanks :-)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue30581>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to