Message136931
socketserver.ForkingMixin class has a collect_children method, that waits for the children to exit.
But, that waits for any child process and not just the ones spawned the socketserver alone.
try:
pid, status = os.waitpid(0, 0)
except os.error:
pid = None
This is performance lag and can be improved. The collect_children can only wait/collect it's own children. |
|
Date |
User |
Action |
Args |
2011-05-26 05:19:53 | orsenthil | set | recipients:
+ orsenthil, pitrou |
2011-05-26 05:19:53 | orsenthil | set | messageid: <1306387193.28.0.997527138067.issue12184@psf.upfronthosting.co.za> |
2011-05-26 05:19:52 | orsenthil | link | issue12184 messages |
2011-05-26 05:19:52 | orsenthil | create | |
|