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

Method _shutdown_thread

Lib/test/test_queue.py:361–364  ·  view source on GitHub ↗
(self, q, results, event_end, immediate)

Source from the content-addressed store, hash-verified

359 pass
360
361 def _shutdown_thread(self, q, results, event_end, immediate):
362 event_end.wait()
363 q.shutdown(immediate)
364 results.append(q.qsize() == 0)
365
366 def _join_thread(self, q, barrier_start):
367 # Wait for the barrier to be complete.

Callers

nothing calls this directly

Calls 4

waitMethod · 0.45
shutdownMethod · 0.45
appendMethod · 0.45
qsizeMethod · 0.45

Tested by

no test coverage detected