|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
Shared state for executor-based async operations. More...
#include <thread_pool_executor.h>

Public Member Functions | |
| executor_state (std::function< T()> work) | |
| executor_state (const executor_state &)=delete | |
| executor_state & | operator= (const executor_state &)=delete |
| executor_state (executor_state &&)=delete | |
| executor_state & | operator= (executor_state &&)=delete |
Public Attributes | |
| std::function< T()> | work_ |
| std::optional< T > | result_ |
| std::exception_ptr | exception_ |
| std::atomic< bool > | ready_ {false} |
| std::coroutine_handle | continuation_ |
Shared state for executor-based async operations.
This state is shared between the awaitable and the executor using shared_ptr, ensuring thread-safe access.
Definition at line 67 of file thread_pool_executor.h.
|
inlineexplicit |
Definition at line 75 of file thread_pool_executor.h.
|
delete |
|
delete |
|
delete |
|
delete |
| std::coroutine_handle kcenon::container::async::detail::executor_state< T >::continuation_ |
Definition at line 73 of file thread_pool_executor.h.
| std::exception_ptr kcenon::container::async::detail::executor_state< T >::exception_ |
Definition at line 71 of file thread_pool_executor.h.
| std::atomic<bool> kcenon::container::async::detail::executor_state< T >::ready_ {false} |
Definition at line 72 of file thread_pool_executor.h.
| std::optional<T> kcenon::container::async::detail::executor_state< T >::result_ |
Definition at line 70 of file thread_pool_executor.h.
| std::function<T()> kcenon::container::async::detail::executor_state< T >::work_ |
Definition at line 69 of file thread_pool_executor.h.