/usr/share/cagefs-skeleton/opt/alt/python310/lib64/python3.10/asyncio/__pycache__
o �=?h � @ s0 d Z ddlZddlZddlmZ dZdd� ZdS )z6High-level support for working with threads in asyncio� N� )�events)� to_threadc � s@ �t �� }t�� }tj|j| g|�R i |��}|�d|�I dH S )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)r Zget_running_loop�contextvarsZcopy_context� functools�partial�runZrun_in_executor)�func�args�kwargsZloop�ctxZ func_call� r �6/opt/alt/python310/lib64/python3.10/asyncio/threads.pyr s � r )�__doc__r r � r �__all__r r r r r �<module> s
.
Edit
..
Edit
__init__.cpython-310.opt-1.pyc
Edit
__init__.cpython-310.opt-2.pyc
Edit
__init__.cpython-310.pyc
Edit
__main__.cpython-310.opt-1.pyc
Edit
__main__.cpython-310.opt-2.pyc
Edit
__main__.cpython-310.pyc
Edit
base_events.cpython-310.opt-1.pyc
Edit
base_events.cpython-310.opt-2.pyc
Edit
base_events.cpython-310.pyc
Edit
base_futures.cpython-310.opt-1.pyc
Edit
base_futures.cpython-310.opt-2.pyc
Edit
base_futures.cpython-310.pyc
Edit
base_subprocess.cpython-310.opt-1.pyc
Edit
base_subprocess.cpython-310.opt-2.pyc
Edit
base_subprocess.cpython-310.pyc
Edit
base_tasks.cpython-310.opt-1.pyc
Edit
base_tasks.cpython-310.opt-2.pyc
Edit
base_tasks.cpython-310.pyc
Edit
constants.cpython-310.opt-1.pyc
Edit
constants.cpython-310.opt-2.pyc
Edit
constants.cpython-310.pyc
Edit
coroutines.cpython-310.opt-1.pyc
Edit
coroutines.cpython-310.opt-2.pyc
Edit
coroutines.cpython-310.pyc
Edit
events.cpython-310.opt-1.pyc
Edit
events.cpython-310.opt-2.pyc
Edit
events.cpython-310.pyc
Edit
exceptions.cpython-310.opt-1.pyc
Edit
exceptions.cpython-310.opt-2.pyc
Edit
exceptions.cpython-310.pyc
Edit
format_helpers.cpython-310.opt-1.pyc
Edit
format_helpers.cpython-310.opt-2.pyc
Edit
format_helpers.cpython-310.pyc
Edit
futures.cpython-310.opt-1.pyc
Edit
futures.cpython-310.opt-2.pyc
Edit
futures.cpython-310.pyc
Edit
locks.cpython-310.opt-1.pyc
Edit
locks.cpython-310.opt-2.pyc
Edit
locks.cpython-310.pyc
Edit
log.cpython-310.opt-1.pyc
Edit
log.cpython-310.opt-2.pyc
Edit
log.cpython-310.pyc
Edit
mixins.cpython-310.opt-1.pyc
Edit
mixins.cpython-310.opt-2.pyc
Edit
mixins.cpython-310.pyc
Edit
proactor_events.cpython-310.opt-1.pyc
Edit
proactor_events.cpython-310.opt-2.pyc
Edit
proactor_events.cpython-310.pyc
Edit
protocols.cpython-310.opt-1.pyc
Edit
protocols.cpython-310.opt-2.pyc
Edit
protocols.cpython-310.pyc
Edit
queues.cpython-310.opt-1.pyc
Edit
queues.cpython-310.opt-2.pyc
Edit
queues.cpython-310.pyc
Edit
runners.cpython-310.opt-1.pyc
Edit
runners.cpython-310.opt-2.pyc
Edit
runners.cpython-310.pyc
Edit
selector_events.cpython-310.opt-1.pyc
Edit
selector_events.cpython-310.opt-2.pyc
Edit
selector_events.cpython-310.pyc
Edit
sslproto.cpython-310.opt-1.pyc
Edit
sslproto.cpython-310.opt-2.pyc
Edit
sslproto.cpython-310.pyc
Edit
staggered.cpython-310.opt-1.pyc
Edit
staggered.cpython-310.opt-2.pyc
Edit
staggered.cpython-310.pyc
Edit
streams.cpython-310.opt-1.pyc
Edit
streams.cpython-310.opt-2.pyc
Edit
streams.cpython-310.pyc
Edit
subprocess.cpython-310.opt-1.pyc
Edit
subprocess.cpython-310.opt-2.pyc
Edit
subprocess.cpython-310.pyc
Edit
tasks.cpython-310.opt-1.pyc
Edit
tasks.cpython-310.opt-2.pyc
Edit
tasks.cpython-310.pyc
Edit
threads.cpython-310.opt-1.pyc
Edit
threads.cpython-310.opt-2.pyc
Edit
threads.cpython-310.pyc
Edit
transports.cpython-310.opt-1.pyc
Edit
transports.cpython-310.opt-2.pyc
Edit
transports.cpython-310.pyc
Edit
trsock.cpython-310.opt-1.pyc
Edit
trsock.cpython-310.opt-2.pyc
Edit
trsock.cpython-310.pyc
Edit
unix_events.cpython-310.opt-1.pyc
Edit
unix_events.cpython-310.opt-2.pyc
Edit
unix_events.cpython-310.pyc
Edit
windows_events.cpython-310.opt-1.pyc
Edit
windows_events.cpython-310.opt-2.pyc
Edit
windows_events.cpython-310.pyc
Edit
windows_utils.cpython-310.opt-1.pyc
Edit
windows_utils.cpython-310.opt-2.pyc
Edit
windows_utils.cpython-310.pyc
Edit