ClickHouse/libs/libcommon/include/common/getThreadId.h
2020-02-02 23:01:13 +03:00

6 lines
133 B
C++

#pragma once
#include <cstdint>
/// Obtain thread id from OS. The value is cached in thread local variable.
uint64_t getThreadId();