MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / throw_runtime_shutdown_exception

Method throw_runtime_shutdown_exception

source/executors/executor.cpp:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "concurrencpp/threads/thread.h"
6
7void concurrencpp::details::throw_runtime_shutdown_exception(std::string_view executor_name) {
8 const auto error_msg = std::string(executor_name) + consts::k_executor_shutdown_err_msg;
9 throw errors::runtime_shutdown(error_msg);
10}
11
12std::string concurrencpp::details::make_executor_worker_name(std::string_view executor_name) {
13 return std::string(executor_name) + " worker";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected