Şuanki Dizin: /usr/lib64/python3.9/asyncio/__pycache__/ |
Şuanki Dosya : //usr/lib64/python3.9/asyncio/__pycache__/threads.cpython-39.pyc |
a �DOg�@s0dZddlZddlZddlmZdZdd�ZdS)z6High-level support for working with threads in asyncio�N�)�events)� to_threadc�s>t��}t��}tj|j|g|�Ri|��}|�d|�IdHS)a�Asynchronously run function *func* in a separate thread. Any *args and **kwargs supplied for this function are directly passed to *func*. Also, the current :class:`contextvars.Context` is propagated, allowing context variables from the main thread to be accessed in the separate thread. Return a coroutine that can be awaited to get the eventual result of *func*. N)rZget_running_loop�contextvarsZcopy_context� functools�partial�runZrun_in_executor)�func�args�kwargsZloop�ctxZ func_call�r �'/usr/lib64/python3.9/asyncio/threads.pyrs r)�__doc__rr�r�__all__rr r r r�<module>s
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4