Josh Rosenberg added the comment:

Note: To my knowledge there is little or no benefit to using maxtasksperchild 
when the implementation is using threads. Cleaning up worker processes 
intermittently will guarantee that memory, handles, etc., are returned to the 
OS. But memory and handles allocated in a thread are not freed when the thread 
exits (with the exception of explicitly thread local stuff, which isn't 
common); it's all using the same heap, and memory allocated by thread 1 is 
indistinguishable from memory allocated by thread 2.

It's not a bad idea to keep the interface consistent, but I'm not sure it's a 
good idea to offer and implement a behavior that isn't actually accomplishing 
anything. Anyone else have any thoughts?

----------
nosy: +josh.rosenberg

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

Reply via email to