Refined dispatcher and threading. Added lifecycle registry
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
def lifecycleMonitor(lifecycles):
|
||||
while True
|
||||
|
||||
print("Active Threads:")
|
||||
#if not exists module.name in lifecycles:
|
||||
#print("No active threads")
|
||||
if exists module.name in lifecyles
|
||||
for item in lifecycles[module.name]
|
||||
if item == "thread".__name__:
|
||||
print(item)
|
||||
else:
|
||||
print("No active threads"
|
||||
Reference in New Issue
Block a user