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

Function qfull

Lib/test/test_queue.py:22–23  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

20QUEUE_SIZE = 5
21
22def qfull(q):
23 return q.maxsize > 0 and q.qsize() == q.maxsize
24
25# A thread to run a function that unclogs a blocked Queue.
26class _TriggerThread(threading.Thread):

Callers 2

basic_queue_testMethod · 0.85
failing_queue_testMethod · 0.85

Calls 1

qsizeMethod · 0.45

Tested by

no test coverage detected