Home
last modified time | relevance | path

Searched refs:active_children (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Lib/
DSocketServer.py512 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/
Dsocketserver.py547 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/
Dutil.py43 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__.py64 from multiprocessing.process import Process, current_process, active_children
Dprocess.py65 def active_children(): function
Dmanagers.py50 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/
Dmp_synchronize.py247 ignore = multiprocessing.active_children() # cleanup any old processes
268 namespace.active_children = multiprocessing.active_children
/external/python/cpython3/Lib/multiprocessing/
Dutil.py321 active_children=process.active_children, argument
350 for p in active_children():
355 for p in active_children():
Dcontext.py39 active_children = staticmethod(process.active_children) variable in BaseContext
Dprocess.py43 def active_children(): function
/external/python/cpython3/Lib/multiprocessing/dummy/
D__init__.py68 def active_children(): function
/external/python/cpython2/Lib/multiprocessing/dummy/
D__init__.py99 def active_children(): function
/external/python/cpython2/Lib/test/
Dtest_socketserver.py78 for pid in server.active_children.copy():
83 server.active_children.clear()
Dtest_multiprocessing.py228 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.py342 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 …]
Dtest_socketserver.py155 self.assertFalse(server.active_children)
/external/python/cpython2/Doc/library/
Dmultiprocessing.rst740 .. function:: active_children()
2296 :func:`~multiprocessing.active_children` is called) all completed processes
/external/python/cpython3/Doc/library/
Dmultiprocessing.rst939 .. function:: active_children()
2703 :func:`~multiprocessing.active_children` is called) all completed processes