summaryrefslogtreecommitdiff
path: root/entry/src/tfe_mgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'entry/src/tfe_mgr.cpp')
-rw-r--r--entry/src/tfe_mgr.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}