2024-07-31 02:28:25 +08:00
|
|
|
import multiprocessing
|
|
|
|
|
|
|
|
from .manager import *
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
"IS_MAIN_PROCESS"
|
|
|
|
]
|
2024-07-24 02:36:46 +08:00
|
|
|
|
2024-07-31 02:28:25 +08:00
|
|
|
IS_MAIN_PROCESS = multiprocessing.current_process().name == "MainProcess"
|
2024-07-24 02:36:46 +08:00
|
|
|
|