1
0
forked from bot/app

新增线程安全共享内存储存器

This commit is contained in:
2024-08-16 21:43:29 +08:00
parent dd00e6ecec
commit 1b692dd13f
4 changed files with 43 additions and 13 deletions

View File

@ -2,9 +2,3 @@ import multiprocessing
from .manager import *
__all__ = [
"IS_MAIN_PROCESS"
]
IS_MAIN_PROCESS = multiprocessing.current_process().name == "MainProcess"