mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-04 03:04:45 +08:00
12 lines
193 B
Python
12 lines
193 B
Python
import multiprocessing
|
|
|
|
from .spawn_process import *
|
|
from .manager import *
|
|
|
|
__all__ = [
|
|
"IS_MAIN_PROCESS"
|
|
]
|
|
|
|
IS_MAIN_PROCESS = multiprocessing.current_process().name == "MainProcess"
|
|
|