#include <daemons.h>
§ checkpointer_t()
| checkpointer_t::checkpointer_t |
( |
ShoreEnv * |
env | ) |
|
|
inline |
§ set_active()
| void checkpointer_t::set_active |
( |
bool |
active | ) |
|
|
inline |
§ work()
| void checkpointer_t::work |
( |
| ) |
|
|
virtual |
The previously used run() is already used by smthread core. Thus, run() now does the thread_t specific setup and calls work(). That is, work() is the new entry function for thread_t instead of run().
CS: sleep one second F times rather than sleeping F seconds. This allows to thread to finish after one second at most once it is deactivated.
Implements thread_t.
§ _active
| bool checkpointer_t::_active |
|
private |
§ _env
The documentation for this class was generated from the following files: