|
Vince's CSV Parser
|
Synchronous read scheduler used by no-thread builds and runtime opt-out. More...
#include <scheduler.hpp>
Public Member Functions | |
| SynchronousCSVReadScheduler (bool enabled) noexcept | |
| void | set_threading_enabled (bool enabled) noexcept |
| void | run (std::function< void()> task) |
| void | run (std::function< void()> task, const std::function< void()> &before_async_run) |
| void | join () noexcept |
| bool | wait_if_active (const std::function< bool()> &is_waitable, const std::function< void()> &wait) |
| void | clear_exception () noexcept |
| std::exception_ptr | take_exception () noexcept |
| void | adopt_exception (std::exception_ptr eptr) noexcept |
| void | rethrow_exception_if_any () |
Synchronous read scheduler used by no-thread builds and runtime opt-out.
It mirrors the threaded scheduler's tiny surface so CSVReader can keep worker-launch and exception-transfer details out of its public facade logic.
Definition at line 30 of file scheduler.hpp.
|
inlineexplicitnoexcept |
Definition at line 34 of file scheduler.hpp.
|
inlinenoexcept |
Definition at line 71 of file scheduler.hpp.
|
inlinenoexcept |
Definition at line 65 of file scheduler.hpp.
|
inlinenoexcept |
Definition at line 54 of file scheduler.hpp.
|
inline |
Definition at line 75 of file scheduler.hpp.
Definition at line 42 of file scheduler.hpp.
|
inline |
Definition at line 46 of file scheduler.hpp.
|
inlinenoexcept |
Definition at line 38 of file scheduler.hpp.
|
inlinenoexcept |
Definition at line 67 of file scheduler.hpp.
|
inline |
Definition at line 56 of file scheduler.hpp.