Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Method
close
Lib/multiprocessing/queues.py:138–143 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
136
return
self.put(obj, False)
137
138
def
close(self):
139
self._closed = True
140
close = self._close
141
if
close:
142
self._close = None
143
close()
144
145
def
join_thread(self):
146
debug(
'Queue.join_thread()'
)
Callers
6
test_forkserver_preload_imports_sys_path
Method · 0.95
test_child_sys_path
Method · 0.95
test_handle_called_with_mp_queue
Method · 0.95
test_no_messages_in_queue_after_stop
Method · 0.95
_terminate_broken
Method · 0.95
close
Method · 0.45
Calls
1
close
Function · 0.50
Tested by
4
test_forkserver_preload_imports_sys_path
Method · 0.76
test_child_sys_path
Method · 0.76
test_handle_called_with_mp_queue
Method · 0.76
test_no_messages_in_queue_after_stop
Method · 0.76