|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/alt/python38/lib64/python3.8/asyncio/__pycache__/ |
U
i�f|C � @ s� d Z dZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z G d d
� d
�Z
G dd� d�ZG d
d� de�ZG dd� d�Z
G dd� de�ZG dd� de�ZG dd� de�ZdS )zSynchronization primitives.)�Lock�Event� Condition� Semaphore�BoundedSemaphore� N� )�events)�futures)�
exceptions)�
coroutinesc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_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>
Deprecated, use 'async with' statement:
async with lock:
<block>
c C s
|| _ d S �N)�_lock)�self�lock� r �2/opt/alt/python38/lib64/python3.8/asyncio/locks.py�__init__"