/usr/share/cagefs-skeleton/opt/alt/python311/lib64/python3.11/asyncio/__pycache__
� ̇|'ūP� �0 � d Z ddlZddlZddlmZ dZd� ZdS )z6High-level support for working with threads in asyncio� N� )�events)� to_threadc � � K � t j � � }t j � � }t j |j | g|�R i |��}|� d|� � � d{V ��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 �get_running_loop�contextvars�copy_context� functools�partial�run�run_in_executor)�func�args�kwargs�loop�ctx� func_calls �6/opt/alt/python311/lib64/python3.11/asyncio/threads.pyr r sp � � � � �"�$�$�D� � "� $� $�C��!�#�'�4�A�$�A�A�A�&�A�A�I��%�%�d�I�6�6�6�6�6�6�6�6�6� )�__doc__r r � r �__all__r � r r �<module>r sU �� <� <� � � � � � � � � � � � � � � �� 7� 7� 7� 7� 7r
.
Edit
..
Edit
__init__.cpython-311.opt-1.pyc
Edit
__init__.cpython-311.opt-2.pyc
Edit
__init__.cpython-311.pyc
Edit
__main__.cpython-311.opt-1.pyc
Edit
__main__.cpython-311.opt-2.pyc
Edit
__main__.cpython-311.pyc
Edit
base_events.cpython-311.opt-1.pyc
Edit
base_events.cpython-311.opt-2.pyc
Edit
base_events.cpython-311.pyc
Edit
base_futures.cpython-311.opt-1.pyc
Edit
base_futures.cpython-311.opt-2.pyc
Edit
base_futures.cpython-311.pyc
Edit
base_subprocess.cpython-311.opt-1.pyc
Edit
base_subprocess.cpython-311.opt-2.pyc
Edit
base_subprocess.cpython-311.pyc
Edit
base_tasks.cpython-311.opt-1.pyc
Edit
base_tasks.cpython-311.opt-2.pyc
Edit
base_tasks.cpython-311.pyc
Edit
constants.cpython-311.opt-1.pyc
Edit
constants.cpython-311.opt-2.pyc
Edit
constants.cpython-311.pyc
Edit
coroutines.cpython-311.opt-1.pyc
Edit
coroutines.cpython-311.opt-2.pyc
Edit
coroutines.cpython-311.pyc
Edit
events.cpython-311.opt-1.pyc
Edit
events.cpython-311.opt-2.pyc
Edit
events.cpython-311.pyc
Edit
exceptions.cpython-311.opt-1.pyc
Edit
exceptions.cpython-311.opt-2.pyc
Edit
exceptions.cpython-311.pyc
Edit
format_helpers.cpython-311.opt-1.pyc
Edit
format_helpers.cpython-311.opt-2.pyc
Edit
format_helpers.cpython-311.pyc
Edit
futures.cpython-311.opt-1.pyc
Edit
futures.cpython-311.opt-2.pyc
Edit
futures.cpython-311.pyc
Edit
locks.cpython-311.opt-1.pyc
Edit
locks.cpython-311.opt-2.pyc
Edit
locks.cpython-311.pyc
Edit
log.cpython-311.opt-1.pyc
Edit
log.cpython-311.opt-2.pyc
Edit
log.cpython-311.pyc
Edit
mixins.cpython-311.opt-1.pyc
Edit
mixins.cpython-311.opt-2.pyc
Edit
mixins.cpython-311.pyc
Edit
proactor_events.cpython-311.opt-1.pyc
Edit
proactor_events.cpython-311.opt-2.pyc
Edit
proactor_events.cpython-311.pyc
Edit
protocols.cpython-311.opt-1.pyc
Edit
protocols.cpython-311.opt-2.pyc
Edit
protocols.cpython-311.pyc
Edit
queues.cpython-311.opt-1.pyc
Edit
queues.cpython-311.opt-2.pyc
Edit
queues.cpython-311.pyc
Edit
runners.cpython-311.opt-1.pyc
Edit
runners.cpython-311.opt-2.pyc
Edit
runners.cpython-311.pyc
Edit
selector_events.cpython-311.opt-1.pyc
Edit
selector_events.cpython-311.opt-2.pyc
Edit
selector_events.cpython-311.pyc
Edit
sslproto.cpython-311.opt-1.pyc
Edit
sslproto.cpython-311.opt-2.pyc
Edit
sslproto.cpython-311.pyc
Edit
staggered.cpython-311.opt-1.pyc
Edit
staggered.cpython-311.opt-2.pyc
Edit
staggered.cpython-311.pyc
Edit
streams.cpython-311.opt-1.pyc
Edit
streams.cpython-311.opt-2.pyc
Edit
streams.cpython-311.pyc
Edit
subprocess.cpython-311.opt-1.pyc
Edit
subprocess.cpython-311.opt-2.pyc
Edit
subprocess.cpython-311.pyc
Edit
taskgroups.cpython-311.opt-1.pyc
Edit
taskgroups.cpython-311.opt-2.pyc
Edit
taskgroups.cpython-311.pyc
Edit
tasks.cpython-311.opt-1.pyc
Edit
tasks.cpython-311.opt-2.pyc
Edit
tasks.cpython-311.pyc
Edit
threads.cpython-311.opt-1.pyc
Edit
threads.cpython-311.opt-2.pyc
Edit
threads.cpython-311.pyc
Edit
timeouts.cpython-311.opt-1.pyc
Edit
timeouts.cpython-311.opt-2.pyc
Edit
timeouts.cpython-311.pyc
Edit
transports.cpython-311.opt-1.pyc
Edit
transports.cpython-311.opt-2.pyc
Edit
transports.cpython-311.pyc
Edit
trsock.cpython-311.opt-1.pyc
Edit
trsock.cpython-311.opt-2.pyc
Edit
trsock.cpython-311.pyc
Edit
unix_events.cpython-311.opt-1.pyc
Edit
unix_events.cpython-311.opt-2.pyc
Edit
unix_events.cpython-311.pyc
Edit
windows_events.cpython-311.opt-1.pyc
Edit
windows_events.cpython-311.opt-2.pyc
Edit
windows_events.cpython-311.pyc
Edit
windows_utils.cpython-311.opt-1.pyc
Edit
windows_utils.cpython-311.opt-2.pyc
Edit
windows_utils.cpython-311.pyc
Edit