Linux velvet.gennetworks.in 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
LiteSpeed
Server IP : 161.129.70.235 & Your IP : 216.73.216.5
Domains :
Cant Read [ /etc/named.conf ]
User : virtueex
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python3.12 /
asyncio /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-18 11:48
__init__.py
1.19
KB
-rw-r--r--
2025-10-09 16:37
__main__.py
3.41
KB
-rw-r--r--
2025-10-09 16:37
base_events.py
76.73
KB
-rw-r--r--
2025-10-09 16:37
base_futures.py
1.93
KB
-rw-r--r--
2025-10-09 16:37
base_subprocess.py
8.66
KB
-rw-r--r--
2025-10-09 16:37
base_tasks.py
2.61
KB
-rw-r--r--
2025-10-09 16:37
constants.py
1.38
KB
-rw-r--r--
2025-10-09 16:37
coroutines.py
3.26
KB
-rw-r--r--
2025-10-09 16:37
events.py
28.65
KB
-rw-r--r--
2025-10-09 16:37
exceptions.py
1.71
KB
-rw-r--r--
2025-10-09 16:37
format_helpers.py
2.35
KB
-rw-r--r--
2025-10-09 16:37
futures.py
14
KB
-rw-r--r--
2025-10-09 16:37
locks.py
18.55
KB
-rw-r--r--
2025-10-09 16:37
log.py
124
B
-rw-r--r--
2025-10-09 16:37
mixins.py
481
B
-rw-r--r--
2025-10-09 16:37
proactor_events.py
32.71
KB
-rw-r--r--
2025-10-09 16:37
protocols.py
6.79
KB
-rw-r--r--
2025-10-09 16:37
queues.py
7.79
KB
-rw-r--r--
2025-10-09 16:37
runners.py
7.06
KB
-rw-r--r--
2025-10-09 16:37
selector_events.py
47.2
KB
-rw-r--r--
2025-10-09 16:37
sslproto.py
31.15
KB
-rw-r--r--
2025-10-09 16:37
staggered.py
6.91
KB
-rw-r--r--
2025-10-09 16:37
streams.py
26.97
KB
-rw-r--r--
2025-10-09 16:37
subprocess.py
7.56
KB
-rw-r--r--
2025-10-09 16:37
taskgroups.py
9.33
KB
-rw-r--r--
2025-10-09 16:37
tasks.py
36.49
KB
-rw-r--r--
2025-10-09 16:37
threads.py
790
B
-rw-r--r--
2025-10-09 16:37
timeouts.py
5.2
KB
-rw-r--r--
2025-10-09 16:37
transports.py
10.47
KB
-rw-r--r--
2025-10-09 16:37
trsock.py
2.42
KB
-rw-r--r--
2025-10-09 16:37
unix_events.py
51.88
KB
-rw-r--r--
2025-10-09 16:37
windows_events.py
31.82
KB
-rw-r--r--
2025-10-09 16:37
windows_utils.py
4.94
KB
-rw-r--r--
2025-10-09 16:37
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)