未验证 提交 51a13cef 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #5126 from taosdata/fix/TD-2402-v2

[TD-2875]<fix>: remove WINDOWS macro related code in ttimer
......@@ -188,11 +188,7 @@ static void removeTimer(uintptr_t id) {
}
static int64_t getMonotonicMs(void) {
#ifdef WINDOWS
return (int64_t) getMonotonicUs() / 1000;
#else
return taosGetTimestampMs();
#endif
}
static void addToWheel(tmr_obj_t* timer, uint32_t delay) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册