Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.11 /
asyncio /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-07-12 06:23
__init__.py
1.16
KB
-rw-r--r--
2026-05-12 05:17
__main__.py
3.26
KB
-rw-r--r--
2026-05-12 05:17
base_events.py
73.06
KB
-rw-r--r--
2026-05-12 05:17
base_futures.py
1.96
KB
-rw-r--r--
2026-05-12 05:17
base_subprocess.py
8.66
KB
-rw-r--r--
2026-05-12 05:17
base_tasks.py
2.58
KB
-rw-r--r--
2026-05-12 05:17
constants.py
1.09
KB
-rw-r--r--
2026-05-12 05:17
coroutines.py
3.32
KB
-rw-r--r--
2026-05-12 05:17
events.py
27.76
KB
-rw-r--r--
2026-05-12 05:17
exceptions.py
1.71
KB
-rw-r--r--
2026-05-12 05:17
format_helpers.py
2.35
KB
-rw-r--r--
2026-05-12 05:17
futures.py
13.88
KB
-rw-r--r--
2026-05-12 05:17
locks.py
18.57
KB
-rw-r--r--
2026-05-12 05:17
log.py
124
B
-rw-r--r--
2026-05-12 05:17
mixins.py
481
B
-rw-r--r--
2026-05-12 05:17
proactor_events.py
32.48
KB
-rw-r--r--
2026-05-12 05:17
protocols.py
6.79
KB
-rw-r--r--
2026-05-12 05:17
queues.py
7.79
KB
-rw-r--r--
2026-05-12 05:17
runners.py
6.68
KB
-rw-r--r--
2026-05-12 05:17
selector_events.py
44.06
KB
-rw-r--r--
2026-05-12 05:17
sslproto.py
30.72
KB
-rw-r--r--
2026-05-12 05:17
staggered.py
5.85
KB
-rw-r--r--
2026-05-12 05:17
streams.py
26.06
KB
-rw-r--r--
2026-05-12 05:17
subprocess.py
7.23
KB
-rw-r--r--
2026-05-12 05:17
taskgroups.py
7.6
KB
-rw-r--r--
2026-05-12 05:17
tasks.py
33.01
KB
-rw-r--r--
2026-05-12 05:17
threads.py
790
B
-rw-r--r--
2026-05-12 05:17
timeouts.py
4.45
KB
-rw-r--r--
2026-05-12 05:17
transports.py
10.47
KB
-rw-r--r--
2026-05-12 05:17
trsock.py
2.42
KB
-rw-r--r--
2026-05-12 05:17
unix_events.py
50.9
KB
-rw-r--r--
2026-05-12 05:17
windows_events.py
33.31
KB
-rw-r--r--
2026-05-12 05:17
windows_utils.py
4.94
KB
-rw-r--r--
2026-05-12 05:17
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)