�
Ϫ�f�* � � � d Z ddlmZ ddlmZmZ ddlmZmZm Z m
Z
mZ ddlmZm
Z
mZ ddlmZ ddlmZmZ ddlmZ dd lmZ dd
lmZ ed� Z ed� Z G d
� de
� Z G d� de� Z e� Z G d� d� Z!y)z�
twisted.python.threadpool: a pool of threads to which we dispatch tasks.
In most cases you can just use C{reactor.callInThread} and friends
instead of creating a thread pool directly.
� )�annotations)�Thread�current_thread)�Any�Callable�List�Optional�TypeVar)� ParamSpec�Protocol� TypedDict)�pool)�context�log)�
deprecated)�Failure)�Version�_P�_Rc � � e Zd Zdd�Zy)�_SupportsQsizec � � y �N� ��selfs �;/usr/lib/python3/dist-packages/twisted/python/threadpool.py�qsizez_SupportsQsize.qsize s � �� N��return�int��__name__�
__module__�__qualname__r r r r r r s � �r r c �" |