ST_engine
0.3-ALPHA
|
An object representing a task to be run by the task manager. More...
#include <task.hpp>
Public Member Functions | |
task (void(*function)(void *), void *arg, semaphore *dependency) | |
void * | operator new (std::size_t) |
void | operator delete (void *) |
Public Attributes | |
void(* | task_func )(void *) |
void * | data {} |
semaphore * | lock = nullptr |
semaphore * | dependency {} |
An object representing a task to be run by the task manager.
Contains a function pointer. Data to pass to that function pointer. And some locking mechanisms.
|
inline |