From 80ff2c20b5de7a17861dc7f25fafd890d613205e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=98=8E=E5=8D=AB?= Date: Thu, 28 May 2020 00:00:17 +0800 Subject: [PATCH] =?UTF-8?q?TSG-1198:=E8=87=AA=E6=A3=80=E5=88=86=E6=B5=81?= =?UTF-8?q?=E8=A7=84=E5=88=99=E6=B7=BB=E5=8A=A0=E8=AF=BB=E5=86=99=E9=94=81?= =?UTF-8?q?=E7=9A=84=E9=87=8A=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/tfe_mgr.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }