Home
last modified time | relevance | path

Searched refs:active_children (Results 1 – 9 of 9) 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/cpython2/Lib/multiprocessing/
Dutil.py43 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__.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/cpython2/Lib/multiprocessing/dummy/
D__init__.py99 def active_children(): function
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py221 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/
Dmultiprocessing.rst740 .. function:: active_children()
2279 :func:`~multiprocessing.active_children` is called) all completed processes