/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/cpython3/Lib/ |
D | socketserver.py | 547 active_children = None variable in ForkingMixIn 554 if self.active_children is None: 563 while len(self.active_children) >= self.max_children: 566 self.active_children.discard(pid) 569 self.active_children.clear() 574 for pid in self.active_children.copy(): 580 self.active_children.discard(pid) 583 self.active_children.discard(pid) 606 if self.active_children is None: 607 self.active_children = set() [all …]
|
/external/python/cpython2/Lib/multiprocessing/ |
D | util.py | 43 from multiprocessing.process import current_process, active_children 298 active_children=active_children, argument 321 for p in active_children(): 326 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/cpython3/Lib/multiprocessing/ |
D | util.py | 321 active_children=process.active_children, argument 350 for p in active_children(): 355 for p in active_children():
|
D | context.py | 39 active_children = staticmethod(process.active_children) variable in BaseContext
|
D | process.py | 43 def active_children(): function
|
/external/python/cpython3/Lib/multiprocessing/dummy/ |
D | __init__.py | 68 def active_children(): function
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
D | __init__.py | 99 def active_children(): function
|
/external/python/cpython2/Lib/test/ |
D | test_socketserver.py | 78 for pid in server.active_children.copy(): 83 server.active_children.clear()
|
D | test_multiprocessing.py | 228 self.assertNotIn(p, self.active_children()) 229 self.assertTrue(type(self.active_children()) is list) 236 self.assertIn(p, self.active_children()) 249 self.assertNotIn(p, self.active_children()) 264 self.assertIn(p, self.active_children()) 274 self.assertNotIn(p, self.active_children()) 290 self.assertEqual(type(self.active_children()), list) 293 self.assertNotIn(p, self.active_children()) 297 self.assertIn(p, self.active_children()) 300 self.assertNotIn(p, self.active_children()) [all …]
|
/external/python/cpython3/Lib/test/ |
D | _test_multiprocessing.py | 342 self.assertNotIn(p, self.active_children()) 343 self.assertTrue(type(self.active_children()) is list) 350 self.assertIn(p, self.active_children()) 363 self.assertNotIn(p, self.active_children()) 405 self.assertIn(p, self.active_children()) 441 self.assertNotIn(p, self.active_children()) 466 self.assertEqual(type(self.active_children()), list) 469 self.assertNotIn(p, self.active_children()) 473 self.assertIn(p, self.active_children()) 476 self.assertNotIn(p, self.active_children()) [all …]
|
D | test_socketserver.py | 155 self.assertFalse(server.active_children)
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 740 .. function:: active_children() 2296 :func:`~multiprocessing.active_children` is called) all completed processes
|
/external/python/cpython3/Doc/library/ |
D | multiprocessing.rst | 939 .. function:: active_children() 2703 :func:`~multiprocessing.active_children` is called) all completed processes
|