mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-30 02: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"
|
|
|