Files
rmmanager/core/execution/createthread.py
T

18 lines
285 B
Python

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