提交 351dc78e 编写于 作者: P peizhilin

code style fix

test=develop
上级 b6b8626e
......@@ -137,9 +137,9 @@ inline pid_t gettid() {
#define __NR_gettid 224
#endif
pid_t tid = syscall(__NR_gettid);
#else // _WIN32
#else // _WIN32
pid_t tid = _getpid();
#endif // _WIN32
#endif // _WIN32
#endif
CHECK_NE((int)tid, -1);
return tid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册