rebase onto develop-2.0
This commit is contained in:
@@ -593,5 +593,15 @@ void session_manager_on_thread_exit(struct module_manager *mod_mgr, int thread_i
|
||||
{
|
||||
struct session_manager *sess_mgr = module_get_ctx(mod);
|
||||
assert(sess_mgr);
|
||||
assert(thread_id < (int)sess_mgr->cfg->thread_num);
|
||||
|
||||
session_manager_clean(sess_mgr, thread_id);
|
||||
}
|
||||
|
||||
// temp add for show session command
|
||||
struct session_manager_rte *session_manager_get_runtime(struct session_manager *sess_mgr, uint16_t thread_id)
|
||||
{
|
||||
assert(sess_mgr);
|
||||
assert(thread_id < sess_mgr->cfg->thread_num);
|
||||
return sess_mgr->rte[thread_id];
|
||||
}
|
||||
Reference in New Issue
Block a user