Home
last modified time | relevance | path

Searched refs:wconn (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
D_test_multiprocessing.py274 rconn, wconn = self.Pipe(duplex=False)
275 p = self.Process(target=self._test_send_parent_process, args=(wconn,))
284 def _test_send_parent_process(cls, wconn): argument
286 wconn.send([parent_process().pid, parent_process().name])
295 rconn, wconn = self.Pipe(duplex=False)
297 target=self._test_create_grandchild_process, args=(wconn, ))
314 def _test_create_grandchild_process(cls, wconn): argument
315 p = cls.Process(target=cls._test_report_parent_status, args=(wconn, ))
320 def _test_report_parent_status(cls, wconn): argument
322 wconn.send("alive" if parent_process().is_alive() else "not alive")
[all …]
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py303 def _test_recursion(cls, wconn, id): argument
305 wconn.send(id)
309 target=cls._test_recursion, args=(wconn, id+[i])
315 rconn, wconn = self.Pipe(duplex=False)
316 self._test_recursion(wconn, [])