1 #ifndef TPZRESCHEDULABLETASK_H 2 #define TPZRESCHEDULABLETASK_H 31 #endif // TPZRESCHEDULABLETASK_H pthread_mutex_t mutex
Semaphore which controls multiple threads.
Administers tasks that will be executed asynchronously.
std::shared_future< void > GetFuture()
TPZReschedulableTask(const int priority, TPZAutoPointer< std::packaged_task< void(void)>> task, TPZTaskGroup *taskGroup=NULL)
Helper class for ordering the tasks that the user have requested.
virtual void startInternal()
std::shared_future< void > mFuture
std::condition_variable mCondition
This class implements a reference counter mechanism to administer a dynamically allocated object...