Bitcoin Core 30.99.0
P2P Digital Currency
Classes | Functions
threadpool.h File Reference
#include <sync.h>
#include <tinyformat.h>
#include <util/expected.h>
#include <util/check.h>
#include <util/thread.h>
#include <algorithm>
#include <condition_variable>
#include <functional>
#include <future>
#include <queue>
#include <thread>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for threadpool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ThreadPool
 Fixed-size thread pool for running arbitrary tasks concurrently. More...
 

Functions

constexpr std::string_view SubmitErrorString (const ThreadPool::SubmitError err) noexcept
 

Function Documentation

◆ SubmitErrorString()

constexpr std::string_view SubmitErrorString ( const ThreadPool::SubmitError  err)
constexprnoexcept

Definition at line 235 of file threadpool.h.

Here is the caller graph for this function: