文件操作 - _threadworker.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/twisted/_threads/__pycache__/_threadworker.cpython-310.pyc
编辑文件内容
o �b� � @ s^ d Z ddlmZ ddlmZ ddlmZ e� Zee�G dd� d��Z ee�G dd � d ��Z d S )zE Implementation of an L{IWorker} based on native threads and queues. � )�implementer� )�Quit)�IExclusiveWorkerc @ �( e Zd ZdZdd� Zdd� Zdd� ZdS ) �ThreadWorkerz� An L{IExclusiveWorker} implemented based on a single thread and a queue. This worker ensures exclusivity (i.e. it is an L{IExclusiveWorker} and not an L{IWorker}) by performing all of the work passed to C{do} on the I{same} thread. c s&