mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
8 lines
173 B
C++
8 lines
173 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
/// Obtain thread id from OS. The value is cached in thread local variable.
|
|
uint64_t getThreadId();
|
|
|
|
void updateCurrentThreadIdAfterFork();
|