TPZTask(const int priority, TPZAutoPointer< std::packaged_task< void(void)>> &task, TPZTaskGroup *taskGroup=NULL)
Administers tasks that will be executed asynchronously.
bool operator()(const TPZAutoPointer< TPZTask > &lhs, const TPZAutoPointer< TPZTask > &rhs)
TPZTaskGroup * mTaskGroup
TPZAutoPointer< std::packaged_task< void(void)> > mTask
Helper class for ordering the tasks that the user have requested.
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
Simple struct needed by std::priority_queue for ordering the items.
This class implements a reference counter mechanism to administer a dynamically allocated object...