Home
last modified time | relevance | path

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

/third_party/python/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 …]
/third_party/python/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
/third_party/python/Lib/multiprocessing/dummy/
D__init__.py68 def active_children(): function
/third_party/python/Lib/test/
D_test_multiprocessing.py346 self.assertNotIn(p, self.active_children())
347 self.assertTrue(type(self.active_children()) is list)
354 self.assertIn(p, self.active_children())
367 self.assertNotIn(p, self.active_children())
409 self.assertIn(p, self.active_children())
445 self.assertNotIn(p, self.active_children())
470 self.assertEqual(type(self.active_children()), list)
473 self.assertNotIn(p, self.active_children())
477 self.assertIn(p, self.active_children())
480 self.assertNotIn(p, self.active_children())
[all …]
Dtest_socketserver.py157 self.assertFalse(server.active_children)
/third_party/python/Doc/library/
Dmultiprocessing.rst939 .. function:: active_children()
2753 :func:`~multiprocessing.active_children` is called) all completed processes