Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 216.73.216.206
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python39 /
lib64 /
python3.9 /
asyncio /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-05-13 10:36
__init__.py
1.25
KB
-rw-r--r--
2025-04-08 15:21
__main__.py
3.3
KB
-rw-r--r--
2025-04-08 15:21
base_events.py
72.45
KB
-rw-r--r--
2025-04-08 15:21
base_futures.py
2.51
KB
-rw-r--r--
2025-04-08 15:21
base_subprocess.py
8.64
KB
-rw-r--r--
2025-04-08 15:21
base_tasks.py
2.41
KB
-rw-r--r--
2025-04-08 15:21
constants.py
888
B
-rw-r--r--
2025-04-08 15:21
coroutines.py
8.59
KB
-rw-r--r--
2025-04-08 15:21
events.py
25.83
KB
-rw-r--r--
2025-04-08 15:21
exceptions.py
1.59
KB
-rw-r--r--
2025-04-08 15:21
format_helpers.py
2.35
KB
-rw-r--r--
2025-04-08 15:21
futures.py
13.71
KB
-rw-r--r--
2025-04-08 15:21
locks.py
14.83
KB
-rw-r--r--
2025-04-08 15:21
log.py
124
B
-rw-r--r--
2025-04-08 15:21
proactor_events.py
31.39
KB
-rw-r--r--
2025-04-08 15:21
protocols.py
6.79
KB
-rw-r--r--
2025-04-08 15:21
queues.py
8.11
KB
-rw-r--r--
2025-04-08 15:21
runners.py
2.08
KB
-rw-r--r--
2025-04-08 15:21
selector_events.py
38.57
KB
-rw-r--r--
2025-04-08 15:21
sslproto.py
26.82
KB
-rw-r--r--
2025-04-08 15:21
staggered.py
5.85
KB
-rw-r--r--
2025-04-08 15:21
streams.py
26.03
KB
-rw-r--r--
2025-04-08 15:21
subprocess.py
7.88
KB
-rw-r--r--
2025-04-08 15:21
tasks.py
33.61
KB
-rw-r--r--
2025-04-08 15:21
threads.py
790
B
-rw-r--r--
2025-04-08 15:21
transports.py
10.47
KB
-rw-r--r--
2025-04-08 15:21
trsock.py
5.74
KB
-rw-r--r--
2025-04-08 15:21
unix_events.py
50.54
KB
-rw-r--r--
2025-04-08 15:21
windows_events.py
32.28
KB
-rw-r--r--
2025-04-08 15:21
windows_utils.py
4.94
KB
-rw-r--r--
2025-04-08 15:21
Save
Rename
"""High-level support for working with threads in asyncio""" import functools import contextvars from . import events __all__ = "to_thread", async def to_thread(func, /, *args, **kwargs): """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*. """ loop = events.get_running_loop() ctx = contextvars.copy_context() func_call = functools.partial(ctx.run, func, *args, **kwargs) return await loop.run_in_executor(None, func_call)