#include <icy/runner.h>Context object which we send to the thread context.
This intermediate object allows us to garecefully handle late invokebacks and so avoid the need for deferred destruction of [Runner](icy-Runner.html#runner) objects.
| Return | Name | Description |
|---|---|---|
std::thread::id | tid | |
std::atomic< bool > | running | |
std::atomic< bool > | cancelled | |
bool | repeating |
std::thread::id tidstd::atomic< bool > runningstd::atomic< bool > cancelledbool repeating = false| Return | Name | Description |
|---|---|---|
void | reset inline | Resets the context to its initial state so it can be reused. The implementation must call this before restarting a [Runner](icy-Runner.html#runner). |
Context inline | Default constructor; calls [reset()](#reset-6) to initialize fields. |
inline
inline void reset()Resets the context to its initial state so it can be reused. The implementation must call this before restarting a [Runner](icy-Runner.html#runner).
inline
inline Context()Default constructor; calls [reset()](#reset-6) to initialize fields.