feat(module manager): add thread_init and thread_exit API

This commit is contained in:
yangwei
2024-10-18 15:02:36 +08:00
parent 722ae7483b
commit a7b79a0e22
6 changed files with 144 additions and 51 deletions

View File

@@ -115,7 +115,7 @@ static void *worker_thread(void *arg)
packet_io_yield(pkt_io, thread_id);
}
}
stellar_module_manager_unregister_thread(mod_mgr, thread_id);
mq_runtime_free(mq_rt);
ATOMIC_SET(&thread->is_runing, 0);