mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 01:27:29 +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"
|
|
|