AlkantarClanX12
Current Path : /opt/alt/python35/lib64/python3.5/asyncio/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/asyncio/__pycache__/locks.cpython-35.opt-1.pyc |
��Yf�: � @ s� d Z d d d d d g Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z Gd d � d � Z Gd d � d � Z Gd d � d e � Z Gd d � d � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d S)zSynchronization primitives.�Lock�Event� Condition� Semaphore�BoundedSemaphore� N� )�compat)�events)�futures)� coroutinec @ s: e Z d Z d Z d d � Z d d � Z d d � Z d S) �_ContextManagera Context manager. This enables the following idiom for acquiring and releasing a lock around a block: with (yield from lock): <block> while failing loudly when accidentally using: with lock: <block> c C s | | _ d S)N)�_lock)�self�lock� r �2/opt/alt/python35/lib64/python3.5/asyncio/locks.py�__init__ s z_ContextManager.__init__c C s d S)Nr )r r r r � __enter__ s z_ContextManager.__enter__c G s"