MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / qsize

Method qsize

tools/python-3.11.9-amd64/Lib/queue.py:92–95  ·  view source on GitHub ↗

Return the approximate size of the queue (not reliable!).

(self)

Source from the content-addressed store, hash-verified

90 self.all_tasks_done.wait()
91
92 def qsize(self):
93 '''Return the approximate size of the queue (not reliable!).'''
94 with self.mutex:
95 return self._qsize()
96
97 def empty(self):
98 '''Return True if the queue is empty, False otherwise (not reliable!).

Callers

nothing calls this directly

Calls 1

_qsizeMethod · 0.95

Tested by

no test coverage detected