![]() |
LibraryLink Utilities
3.0.1
Modern C++ wrapper over LibraryLink and WSTP
|
Utility class for pausable task queues.
Inheritance diagram for LLU::Async::Pausable:#include <Utilities.h>
Public Member Functions | |
| void | checkPause () |
| This is the function worker threads will call to see if the work has been paused. More... | |
| void | pause () noexcept |
| Signal to pause work. More... | |
| void | resume () noexcept |
| Signal to resume work and notify waiting worker threads. More... | |
|
inline |
This is the function worker threads will call to see if the work has been paused.
If it has, they will wait on the condition variable.
|
inlinenoexcept |
Signal to pause work.
|
inlinenoexcept |
Signal to resume work and notify waiting worker threads.