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 /
python312 /
lib64 /
python3.12 /
asyncio /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-05-13 10:37
__init__.py
1.19
KB
-rw-r--r--
2025-04-25 20:47
__main__.py
3.41
KB
-rw-r--r--
2025-04-25 20:47
base_events.py
76.73
KB
-rw-r--r--
2025-04-25 20:47
base_futures.py
1.93
KB
-rw-r--r--
2025-04-25 20:47
base_subprocess.py
8.66
KB
-rw-r--r--
2025-04-25 20:47
base_tasks.py
2.61
KB
-rw-r--r--
2025-04-25 20:47
constants.py
1.38
KB
-rw-r--r--
2025-04-25 20:47
coroutines.py
3.26
KB
-rw-r--r--
2025-04-25 20:47
events.py
28.65
KB
-rw-r--r--
2025-04-25 20:47
exceptions.py
1.71
KB
-rw-r--r--
2025-04-25 20:47
format_helpers.py
2.35
KB
-rw-r--r--
2025-04-25 20:47
futures.py
14
KB
-rw-r--r--
2025-04-25 20:47
locks.py
18.55
KB
-rw-r--r--
2025-04-25 20:47
log.py
124
B
-rw-r--r--
2025-04-25 20:47
mixins.py
481
B
-rw-r--r--
2025-04-25 20:47
proactor_events.py
32.71
KB
-rw-r--r--
2025-04-25 20:47
protocols.py
6.79
KB
-rw-r--r--
2025-04-25 20:47
queues.py
7.79
KB
-rw-r--r--
2025-04-25 20:47
runners.py
7.06
KB
-rw-r--r--
2025-04-25 20:47
selector_events.py
47.2
KB
-rw-r--r--
2025-04-25 20:47
sslproto.py
31.15
KB
-rw-r--r--
2025-04-25 20:47
staggered.py
6.91
KB
-rw-r--r--
2025-04-25 20:47
streams.py
26.97
KB
-rw-r--r--
2025-04-25 20:47
subprocess.py
7.56
KB
-rw-r--r--
2025-04-25 20:47
taskgroups.py
9.33
KB
-rw-r--r--
2025-04-25 20:47
tasks.py
36.49
KB
-rw-r--r--
2025-04-25 20:47
threads.py
790
B
-rw-r--r--
2025-04-25 20:47
timeouts.py
5.2
KB
-rw-r--r--
2025-04-25 20:47
transports.py
10.47
KB
-rw-r--r--
2025-04-25 20:47
trsock.py
2.42
KB
-rw-r--r--
2025-04-25 20:47
unix_events.py
51.88
KB
-rw-r--r--
2025-04-25 20:47
windows_events.py
31.82
KB
-rw-r--r--
2025-04-25 20:47
windows_utils.py
4.94
KB
-rw-r--r--
2025-04-25 20:47
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)