MCPcopy Index your code
hub / github.com/python/cpython / terminate

Method terminate

Lib/multiprocessing/pool.py:654–657  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

652 self._change_notifier.put(None)
653
654 def terminate(self):
655 util.debug('terminating pool')
656 self._state = TERMINATE
657 self._terminate()
658
659 def join(self):
660 util.debug('joining pool')

Callers 15

test_async_timeoutMethod · 0.95
test_terminateMethod · 0.95
test_resource_warningMethod · 0.95
__exit__Method · 0.95
_cleanup_processMethod · 0.45
_handle_runFunction · 0.45
_handle_live_runFunction · 0.45
_terminate_brokenMethod · 0.45
_force_shutdownMethod · 0.45
_finalize_managerMethod · 0.45
__exit__Method · 0.45

Calls 1

debugMethod · 0.45

Tested by 3

test_async_timeoutMethod · 0.76
test_terminateMethod · 0.76
test_resource_warningMethod · 0.76