LibreOffice Module comphelper (master)
1
|
Public Member Functions | |
ThreadTaskTag () | |
bool | isDone () |
void | waitUntilDone () |
void | onTaskWorkerDone () |
void | onTaskPushed () |
Private Attributes | |
std::mutex | maMutex |
sal_Int32 | mnTasksWorking |
std::condition_variable | maTasksComplete |
Definition at line 41 of file threadpool.cxx.
comphelper::ThreadTaskTag::ThreadTaskTag | ( | ) |
Definition at line 330 of file threadpool.cxx.
bool comphelper::ThreadTaskTag::isDone | ( | ) |
Definition at line 350 of file threadpool.cxx.
References maMutex, and mnTasksWorking.
void comphelper::ThreadTaskTag::onTaskPushed | ( | ) |
Definition at line 334 of file threadpool.cxx.
References assert(), maMutex, and mnTasksWorking.
void comphelper::ThreadTaskTag::onTaskWorkerDone | ( | ) |
Definition at line 341 of file threadpool.cxx.
References assert(), maMutex, maTasksComplete, and mnTasksWorking.
void comphelper::ThreadTaskTag::waitUntilDone | ( | ) |
Definition at line 356 of file threadpool.cxx.
References assert(), comphelper::isDebuggerAttached(), maMutex, maTasksComplete, mnTasksWorking, and result.
|
private |
Definition at line 43 of file threadpool.cxx.
Referenced by isDone(), onTaskPushed(), onTaskWorkerDone(), and waitUntilDone().
|
private |
Definition at line 45 of file threadpool.cxx.
Referenced by onTaskWorkerDone(), and waitUntilDone().
|
private |
Definition at line 44 of file threadpool.cxx.
Referenced by isDone(), onTaskPushed(), onTaskWorkerDone(), and waitUntilDone().