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

Function qfull

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

Source from the content-addressed store, hash-verified

22QUEUE_SIZE = 5
23
24def qfull(q):
25 return q.maxsize > 0 and q.qsize() == q.maxsize
26
27# A thread to run a function that unclogs a blocked Queue.
28class _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

Used in the wild real call sites across dependent graphs

searching dependent graphs…