NeoPZ
|
#include <TPZTaskGroup.h>
Public Member Functions | |
TPZTaskGroup () | |
TPZTaskGroup (const TPZTaskGroup &orig) | |
void | Wait () |
long unsigned int | Active () |
virtual | ~TPZTaskGroup () |
Private Member Functions | |
void | Notify (TPZTask *task) |
void | RegisterTask (TPZTask *task) |
Private Attributes | |
std::mutex | fMutex |
std::condition_variable | fObservers |
std::set< TPZTask * > | fPendingTasks |
Friends | |
class | TPZTask |
Definition at line 17 of file TPZTaskGroup.h.
TPZTaskGroup::TPZTaskGroup | ( | ) |
Definition at line 12 of file TPZTaskGroup.cpp.
TPZTaskGroup::TPZTaskGroup | ( | const TPZTaskGroup & | orig | ) |
Definition at line 15 of file TPZTaskGroup.cpp.
|
virtual |
Definition at line 18 of file TPZTaskGroup.cpp.
long unsigned int TPZTaskGroup::Active | ( | ) |
Definition at line 41 of file TPZTaskGroup.cpp.
References fPendingTasks.
|
private |
Definition at line 21 of file TPZTaskGroup.cpp.
References fMutex, fObservers, and fPendingTasks.
Referenced by TPZTask::Cancel(), and TPZTask::start().
|
private |
Definition at line 29 of file TPZTaskGroup.cpp.
References fMutex, and fPendingTasks.
Referenced by TPZTask::TPZTask().
void TPZTaskGroup::Wait | ( | ) |
Definition at line 34 of file TPZTaskGroup.cpp.
References fMutex, fObservers, and fPendingTasks.
Referenced by TPZRenumbering::ColorElements(), and TPZStructMatrixGCTP::MultiThread_Assemble().
|
friend |
Definition at line 25 of file TPZTaskGroup.h.
|
private |
Definition at line 29 of file TPZTaskGroup.h.
Referenced by Notify(), RegisterTask(), and Wait().
|
private |
Definition at line 30 of file TPZTaskGroup.h.
|
private |
Definition at line 31 of file TPZTaskGroup.h.
Referenced by Active(), Notify(), RegisterTask(), and Wait().