Searched refs:active_children (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/ |
D | SocketServer.py | 512 active_children = None variable in ForkingMixIn 517 if self.active_children is None: 526 while len(self.active_children) >= self.max_children: 529 self.active_children.discard(pid) 533 self.active_children.clear() 538 for pid in self.active_children.copy(): 543 self.active_children.discard(pid) 547 self.active_children.discard(pid) 562 if self.active_children is None: 563 self.active_children = set() [all …]
|
/external/python/cpython2/Lib/multiprocessing/ |
D | util.py | 43 from multiprocessing.process import current_process, active_children 295 active_children=active_children, argument 318 for p in active_children(): 323 for p in active_children():
|
D | __init__.py | 64 from multiprocessing.process import Process, current_process, active_children
|
D | process.py | 65 def active_children(): function
|
D | managers.py | 50 from multiprocessing import Process, current_process, active_children, Pool, util, connection 357 for p in active_children(): 361 for p in active_children():
|
/external/python/cpython2/Doc/includes/ |
D | mp_synchronize.py | 247 ignore = multiprocessing.active_children() # cleanup any old processes 268 namespace.active_children = multiprocessing.active_children
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
D | __init__.py | 99 def active_children(): function
|
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 221 self.assertNotIn(p, self.active_children()) 222 self.assertTrue(type(self.active_children()) is list) 229 self.assertIn(p, self.active_children()) 242 self.assertNotIn(p, self.active_children()) 257 self.assertIn(p, self.active_children()) 267 self.assertNotIn(p, self.active_children()) 283 self.assertEqual(type(self.active_children()), list) 286 self.assertNotIn(p, self.active_children()) 290 self.assertIn(p, self.active_children()) 293 self.assertNotIn(p, self.active_children()) [all …]
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 740 .. function:: active_children() 2279 :func:`~multiprocessing.active_children` is called) all completed processes
|