MCPcopy Index your code
hub / github.com/RustPython/RustPython / _shutdown_thread

Method _shutdown_thread

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

Source from the content-addressed store, hash-verified

357 pass
358
359 def _shutdown_thread(self, q, results, event_end, immediate):
360 event_end.wait()
361 q.shutdown(immediate)
362 results.append(q.qsize() == 0)
363
364 def _join_thread(self, q, barrier_start):
365 # 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