提交 21bc9335 编写于 作者: wafwerar's avatar wafwerar

fix(os): run case on win

上级 3a0efe72
...@@ -1458,7 +1458,7 @@ _return: ...@@ -1458,7 +1458,7 @@ _return:
} }
void ctgUpdateThreadFuncUnexpectedStopped(void) { void ctgUpdateThreadFuncUnexpectedStopped(void) {
CTG_UNLOCK(CTG_READ, &gCtgMgmt.lock); if (CTG_IS_LOCKED(&gCtgMgmt.lock)) CTG_UNLOCK(CTG_READ, &gCtgMgmt.lock);
} }
void* ctgUpdateThreadFunc(void* param) { void* ctgUpdateThreadFunc(void* param) {
...@@ -1497,7 +1497,7 @@ void* ctgUpdateThreadFunc(void* param) { ...@@ -1497,7 +1497,7 @@ void* ctgUpdateThreadFunc(void* param) {
ctgdShowClusterCache(pCtg); ctgdShowClusterCache(pCtg);
} }
CTG_UNLOCK(CTG_READ, &gCtgMgmt.lock); if (CTG_IS_LOCKED(&gCtgMgmt.lock)) CTG_UNLOCK(CTG_READ, &gCtgMgmt.lock);
qInfo("catalog update thread stopped"); qInfo("catalog update thread stopped");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册