1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/parallel/thread_context.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/main/query_profiler.hpp"
12
13namespace duckdb {
14class ClientContext;
15
16//! The ThreadContext holds thread-local info for parallel usage
17class ThreadContext {
18public:
19 explicit ThreadContext(ClientContext &context);
20
21 //! The operator profiler for the individual thread context
22 OperatorProfiler profiler;
23};
24
25} // namespace duckdb
26