§
    Y¦·f~  ã                   ó0   — d Z ddlmZ  G d„ d¦  «        ZdS )zI
Common functionality used within the implementation of various workers.
é   )ÚAlreadyQuitc                   ó$   — e Zd ZdZd„ Zd„ Zd„ ZdS )ÚQuitz‚
    A flag representing whether a worker has been quit.

    @ivar isSet: Whether this flag is set.
    @type isSet: L{bool}
    c                 ó   — d| _         dS )z*
        Create a L{Quit} un-set.
        FN)ÚisSet©Úselfs    úO/var/www/html/env/lib/python3.11/site-packages/twisted/_threads/_convenience.pyÚ__init__zQuit.__init__   s   € ð ˆŒ
ˆ
ˆ
ó    c                 ó<   — |                       ¦   «          d| _        dS )zg
        Set the flag if it has not been set.

        @raise AlreadyQuit: If it has been set.
        TN)Úcheckr   r   s    r
   ÚsetzQuit.set   s   € ð 	
Š
‰ŒˆØˆŒ
ˆ
ˆ
r   c                 ó0   — | j         rt          ¦   «         ‚dS )zb
        Check if the flag has been set.

        @raise AlreadyQuit: If it has been set.
        N)r   r   r   s    r
   r   z
Quit.check$   s"   € ð Œ:ð 	 Ý‘-”-Ðð	 ð 	 r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   © r   r
   r   r      sK   € € € € € ðð ðð ð ðð ð ð ð  ð  ð  ð  r   r   N)r   Ú	_ithreadsr   r   r   r   r
   ú<module>r      sU   ðð
ð ð
 #Ð "Ð "Ð "Ð "Ð "ð ð  ð  ð  ð  ñ  ô  ð  ð  ð  r   