|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
RAII guard for setting executor context. More...
#include <thread_pool_executor.h>

Public Member Functions | |
| executor_context_guard (executor_ptr executor) | |
| ~executor_context_guard () | |
| executor_context_guard (const executor_context_guard &)=delete | |
| executor_context_guard & | operator= (const executor_context_guard &)=delete |
Private Attributes | |
| executor_ptr | previous_ |
RAII guard for setting executor context.
Sets the executor on construction and restores the previous executor on destruction.
Definition at line 284 of file thread_pool_executor.h.
|
inlineexplicit |
Definition at line 287 of file thread_pool_executor.h.
References kcenon::container::async::async_executor_context::instance(), and kcenon::container::async::async_executor_context::set_executor().

|
inline |
Definition at line 293 of file thread_pool_executor.h.
References kcenon::container::async::async_executor_context::instance(), previous_, and kcenon::container::async::async_executor_context::set_executor().

|
delete |
|
delete |
|
private |
Definition at line 302 of file thread_pool_executor.h.
Referenced by ~executor_context_guard().