| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python315/Lib/__pycache__/ |
Upload File : |
R
>lqj6 c �F � Q s ] PHs] PHs] QHGs ] QHGsGs ] QH G s ] QH*Gs , QNs
] QH*Gs Q
Q\2 s Q Q\2 s Q Q2 s Q Q \2 s Q Q
\2 s Q Q2 s\e \sP! P! \ c Ps K`h 9 h \ c Q Q\2 s Kmh 9 h)z'A multi-producer, multi-consumer queue.)�deque)�heappush�heappop)� monotonic)�SimpleQueue�Empty�Full�ShutDown�Queue�
PriorityQueue� LifoQueue)r c � � \ sQ s]sQsQsP! )r z4Exception raised by Queue.get(block=0)/get_nowait().� ��__name__�
__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r
� �C:\Python315\\Lib\queue.pyr r s � �>�r c � � \ sQ s]sQsQsP! )r z4Exception raised by Queue.put(block=0)/put_nowait().r
r r
r r r r s � �:�r c � � \ sQ s]$sQsQsP! )r z)Raised when put/get with shut-down queue.r
r r
r r r r $ s � �3r c � ` � \ sQ s](s n QsQQ ksQ sQ sQ sQ s Q s
QQ ksQQ ksQ
s
Q sQQ ksQ
sQ sQ sQ s\ \O, 2 sQsU sP! )r zbCreate a queue object with a given maximum size.
If maxsize is <= 0, the queue size is infinite.
c �d � Vm U O U2 [ O 2 U m [ O
U O 2 U m [ O
U O 2 U m [ O
U O 2 U m ] U m P
U m
P! �� )�maxsize�_init� threading�Lock�mutex� Condition� not_empty�not_full�all_tasks_done�unfinished_tasks�is_shutdown��selfr s &&r �__init__�Queue.__init__. s~ � ����
�
�7�� �^�^�%��
� #�,�,�T�Z�Z�8��� "�+�+�D�J�J�7��
� (�1�1�$�*�*�=��� !��� !��r c � � U O 9^tt^ 2 U O ]*
oU] 6: c- U] 6 c [ Q2 gU O O 2 Vm PPP2 P! ) % f h P! 9 h)a� Indicate that a formerly enqueued task is complete.
Used by Queue consumer threads. For each get() used to fetch a task,
a subsequent call to task_done() tells the queue that the processing
on the task is complete.
If a join() is currently blocking, it will resume when all items
have been processed (meaning that a task_done() call was received
for every item that had been put() into the queue).
Raises a ValueError if called more times than there were items
placed in the queue.
z!task_done() called too many times)r% r&