Lockless Task Scheduler  v1.0a
A lockless task scheduler
Public Types | Public Member Functions | Protected Attributes | List of all members
task_scheduler::alarm Class Reference
Inheritance diagram for task_scheduler::alarm:
Inheritance graph
[legend]
Collaboration diagram for task_scheduler::alarm:
Collaboration graph
[legend]

Public Types

typedef std::function< bool()> wake_up_function
 

Public Member Functions

void sleep (wake_up_function _wake_up_func)
 
void wake_up ()
 

Protected Attributes

bool sleeping
 
- Protected Attributes inherited from task_scheduler::event
std::mutex lock
 The signal More...
 
std::condition_variable cond_var
 The radio More...
 

Additional Inherited Members

- Protected Member Functions inherited from task_scheduler::event
void signal ()
 
void wait ()
 

The documentation for this class was generated from the following file: