refactor
This commit is contained in:
@@ -70,7 +70,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
pool() noexcept = default;
|
pool() noexcept = default;
|
||||||
|
|
||||||
~pool() { shutdown(); }
|
~pool();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
pool(const pool &) = delete;
|
pool(const pool &) = delete;
|
||||||
|
|||||||
@@ -95,6 +95,8 @@ void client_pool::pool::work_queue::work_thread() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client_pool::pool::~pool() { shutdown(); }
|
||||||
|
|
||||||
void client_pool::pool::execute(std::uint64_t thread_id, worker_callback worker,
|
void client_pool::pool::execute(std::uint64_t thread_id, worker_callback worker,
|
||||||
worker_complete_callback worker_complete) {
|
worker_complete_callback worker_complete) {
|
||||||
REPERTORY_USES_FUNCTION_NAME();
|
REPERTORY_USES_FUNCTION_NAME();
|
||||||
|
|||||||
Reference in New Issue
Block a user