mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
14 lines
381 B
C++
14 lines
381 B
C++
|
#pragma once
|
||
|
|
||
|
template <typename Thread>
|
||
|
class ThreadPoolImpl;
|
||
|
|
||
|
template <bool propagate_opentelemetry_context>
|
||
|
class ThreadFromGlobalPoolImpl;
|
||
|
|
||
|
using ThreadFromGlobalPoolNoTracingContextPropagation = ThreadFromGlobalPoolImpl<false>;
|
||
|
|
||
|
using ThreadFromGlobalPool = ThreadFromGlobalPoolImpl<true>;
|
||
|
|
||
|
using ThreadPool = ThreadPoolImpl<ThreadFromGlobalPoolNoTracingContextPropagation>;
|