diff --git a/entry/src/tfe_mgr.cpp b/entry/src/tfe_mgr.cpp index 2e8f85f..847aed7 100644 --- a/entry/src/tfe_mgr.cpp +++ b/entry/src/tfe_mgr.cpp @@ -423,5 +423,7 @@ int tfe_mgr_alive_node_RR_get(struct tfe_mgr *mgr,int *last_tfe_id_index){ *last_tfe_id_index = i; tfe_id = mgr->tfe_alive_nodes[i]; } + pthread_rwlock_unlock(&(mgr->rwlock)); + return tfe_id; }