aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Common/ThreadPool_fwd.h
blob: 2782acc9c516e5be720ed43c416a6092f74968a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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>;