ClickHouse/src/Common/threadPoolCallbackRunner.h

14 lines
194 B
C++
Raw Normal View History

#pragma once
#include <Common/ThreadPool.h>
namespace DB
{
using CallbackRunner = std::function<void(std::function<void()>)>;
CallbackRunner threadPoolCallbackRunner(ThreadPool & pool);
}