Ë
    oj~  ã                   ó(   — d Z ddlmZ  G d„ d«      Zy)zI
Common functionality used within the implementation of various workers.
é   )ÚAlreadyQuitc                   ó"   — e Zd ZdZd„ Zd„ Zd„ Zy)ÚQuitz‚
    A flag representing whether a worker has been quit.

    @ivar isSet: Whether this flag is set.
    @type isSet: L{bool}
    c                 ó   — d| _         y)z*
        Create a L{Quit} un-set.
        FN)ÚisSet©Úselfs    ú?/usr/lib/python3/dist-packages/twisted/_threads/_convenience.pyÚ__init__zQuit.__init__   s   € ð ˆ�
ó    c                 ó2   — | j                  «        d| _        y)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        «       ‚y)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      s   „ ñòòó r   r   N)r   Ú	_ithreadsr   r   r   r   r
   ú<module>r      s   ðñ
õ
 #÷ ò  r   