|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
多态执行器抽象 更多...
类 | |
| class | neforce::executor |
| 多态执行器 更多... | |
| struct | neforce::executor::executor_base |
| 执行器概念基类 更多... | |
函数 | |
| template<typename Executor> | |
| void | neforce::post (Executor &ex, function< void()> handler) |
| 向执行器投递 handler | |
多态执行器抽象
类型擦除的执行器包装,可持有 io_context::executor、strand、 thread_pool 或任何满足 executor 概念的类型。
在文件 executor.hpp 中定义.