Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.127
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
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-08-15 19:31
__init__.py
1.19
KB
-rw-r--r--
2025-06-23 14:37
__main__.py
3.41
KB
-rw-r--r--
2025-06-23 14:37
base_events.py
76.73
KB
-rw-r--r--
2025-06-23 14:37
base_futures.py
1.93
KB
-rw-r--r--
2025-06-23 14:37
base_subprocess.py
8.66
KB
-rw-r--r--
2025-06-23 14:37
base_tasks.py
2.61
KB
-rw-r--r--
2025-06-23 14:37
constants.py
1.38
KB
-rw-r--r--
2025-06-23 14:37
coroutines.py
3.26
KB
-rw-r--r--
2025-06-23 14:37
events.py
28.65
KB
-rw-r--r--
2025-06-23 14:37
exceptions.py
1.71
KB
-rw-r--r--
2025-06-23 14:37
format_helpers.py
2.35
KB
-rw-r--r--
2025-06-23 14:37
futures.py
14
KB
-rw-r--r--
2025-06-23 14:37
locks.py
18.55
KB
-rw-r--r--
2025-06-23 14:37
log.py
124
B
-rw-r--r--
2025-06-23 14:37
mixins.py
481
B
-rw-r--r--
2025-06-23 14:37
proactor_events.py
32.71
KB
-rw-r--r--
2025-06-23 14:37
protocols.py
6.79
KB
-rw-r--r--
2025-06-23 14:37
queues.py
7.79
KB
-rw-r--r--
2025-06-23 14:37
runners.py
7.06
KB
-rw-r--r--
2025-06-23 14:37
selector_events.py
47.2
KB
-rw-r--r--
2025-06-23 14:37
sslproto.py
31.15
KB
-rw-r--r--
2025-06-23 14:37
staggered.py
6.91
KB
-rw-r--r--
2025-06-23 14:37
streams.py
26.97
KB
-rw-r--r--
2025-06-23 14:37
subprocess.py
7.56
KB
-rw-r--r--
2025-06-23 14:37
taskgroups.py
9.33
KB
-rw-r--r--
2025-06-23 14:37
tasks.py
36.49
KB
-rw-r--r--
2025-06-23 14:37
threads.py
790
B
-rw-r--r--
2025-06-23 14:37
timeouts.py
5.2
KB
-rw-r--r--
2025-06-23 14:37
transports.py
10.47
KB
-rw-r--r--
2025-06-23 14:37
trsock.py
2.42
KB
-rw-r--r--
2025-06-23 14:37
unix_events.py
51.88
KB
-rw-r--r--
2025-06-23 14:37
windows_events.py
31.82
KB
-rw-r--r--
2025-06-23 14:37
windows_utils.py
4.94
KB
-rw-r--r--
2025-06-23 14: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)