#include <concurrency.h>
Public Member Functions | |
void | kick () |
bool | running () |
void | set_timeout (uint64_t timeout_ms) |
void | start () |
void | stop () |
watchdog (std::function< void()> operation, uint64_t timeout_ms) | |
~watchdog () | |
Private Attributes | |
bool | _kicked = false |
std::mutex | _m |
std::function< void()> | _operation |
bool | _running = false |
uint64_t | _timeout_ms |
std::shared_ptr< active_object<> > | _watcher |
Definition at line 427 of file concurrency.h.
Definition at line 430 of file concurrency.h.
|
inline |
Definition at line 445 of file concurrency.h.
|
inline |
Definition at line 455 of file concurrency.h.
|
inline |
Definition at line 453 of file concurrency.h.
Definition at line 454 of file concurrency.h.
|
inline |
Definition at line 451 of file concurrency.h.
|
inline |
Definition at line 452 of file concurrency.h.
|
private |
Definition at line 460 of file concurrency.h.
|
private |
Definition at line 458 of file concurrency.h.
|
private |
Definition at line 462 of file concurrency.h.
|
private |
Definition at line 461 of file concurrency.h.
|
private |
Definition at line 459 of file concurrency.h.
|
private |
Definition at line 463 of file concurrency.h.