+
    üÐj  ã                   ód   € R t ^ RIHt ^ RIHt  ! R R]4      t ! R R]4      t ! R R]4      tR	# )
z 
Interfaces related to threads.
©ÚCallable)Ú	Interfacec                   ó   € ] tR t^tRtRtR# )ÚAlreadyQuitzB
This worker worker is dead and cannot execute more instructions.
© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    Ú</usr/lib/python3/dist-packages/twisted/_threads/_ithreads.pyr   r      s   † õr   r   c                   óH   a € ] tR t^t o RtV 3R lR ltV 3R lR ltRtV tR# )ÚIWorkerzg
A worker that can perform some work concurrently.

All methods on this interface must be thread-safe.
c                ó6   <€ V ^8„  d   QhRS[ . R3,          RR/# )é   ÚtaskNÚreturnr   )ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚIWorker.__annotate__   s$   ø€ ÷ ñ ‘˜"˜d˜(Õ#ð ¨ñ r   c                ó   € R# )aÓ  
Perform the given task.

As an interface, this method makes no specific claims about concurrent
execution.  An L{IWorker}'s C{do} implementation may defer execution
for later on the same thread, immediately on a different thread, or
some combination of the two.  It is valid for a C{do} method to
schedule C{task} in such a way that it may never be executed.

It is important for some implementations to provide specific properties
with respect to where C{task} is executed, of course, and client code
may rely on a more specific implementation of C{do} than L{IWorker}.

@param task: a task to call in a thread or other concurrent context.
@type task: 0-argument callable

@raise AlreadyQuit: if C{quit} has been called.
Nr   )r   s   &r   ÚdoÚ
IWorker.do   ó   ‚ r   c                ó   <€ V ^8„  d   QhRR/# )r   r   Nr   )r   r   s   "€r   r   r   0   s   ø€ ÷ ñ �$ñ r   c                 ó   € R# )z™
Free any resources associated with this L{IWorker} and cause it to
reject all future work.

@raise AlreadyQuit: if this method has already been called.
Nr   r   r   r   ÚquitÚIWorker.quit0   r   r   r   N)	r	   r
   r   r   r   r   r!   r   Ú__classdictcell__)r   s   @r   r   r      s   ø‡ € ñ÷ð ÷(ö r   r   c                   ó   € ] tR t^9tRtRtR# )ÚIExclusiveWorkerz‡
Like L{IWorker}, but with the additional guarantee that the callables
passed to C{do} will not be called exclusively with each other.
r   Nr   r   r   r   r%   r%   9   s   † õr   r%   N)	r   Útypingr   Úzope.interfacer   Ú	Exceptionr   r   r%   r   r   r   Ú<module>r)      s7   ðñ
õ
 å $ô�)ô ô!ˆiô !ôH�wö r   