Files
rmmanager/core/execution/createthread.py
T
2026-10-30 02:46:34 -04:00

19 lines
307 B
Python

import threading
import logging
from .lifecyclemanager import manageLifecycle
def buildThread(module):
thread = threading.Thread(
target=manageLifecycle,
args=(module,),
name=module.name
)
thread.start()
logging.info("THREAD STARTED", thread)
return thread