Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_timeout
Method · 0.95
test_terminate
Method · 0.95
test_resource_warning
Method · 0.95
__exit__
Method · 0.95
_cleanup_process
Method · 0.45
_handle_run
Function · 0.45
_handle_live_run
Function · 0.45
_terminate_broken
Method · 0.45
_join_executor_internals
Method · 0.45
_force_shutdown
Method · 0.45
_finalize_manager
Method · 0.45
__exit__
Method · 0.45
Calls
1
debug
Method · 0.45
Tested by
3
test_async_timeout
Method · 0.76
test_terminate
Method · 0.76
test_resource_warning
Method · 0.76