LibreOffice Module comphelper (master)  1
Public Member Functions | Private Attributes | List of all members
comphelper::ThreadTaskTag Class Reference

Public Member Functions

 ThreadTaskTag ()
 
bool isDone ()
 
void waitUntilDone ()
 
void onTaskWorkerDone ()
 
void onTaskPushed ()
 

Private Attributes

std::mutex maMutex
 
sal_Int32 mnTasksWorking
 
std::condition_variable maTasksComplete
 

Detailed Description

Definition at line 43 of file threadpool.cxx.

Constructor & Destructor Documentation

comphelper::ThreadTaskTag::ThreadTaskTag ( )

Definition at line 293 of file threadpool.cxx.

Member Function Documentation

bool comphelper::ThreadTaskTag::isDone ( )

Definition at line 313 of file threadpool.cxx.

References maMutex, and mnTasksWorking.

void comphelper::ThreadTaskTag::onTaskPushed ( )

Definition at line 297 of file threadpool.cxx.

References maMutex, and mnTasksWorking.

void comphelper::ThreadTaskTag::onTaskWorkerDone ( )

Definition at line 304 of file threadpool.cxx.

References maMutex, maTasksComplete, and mnTasksWorking.

void comphelper::ThreadTaskTag::waitUntilDone ( )

Member Data Documentation

std::mutex comphelper::ThreadTaskTag::maMutex
private

Definition at line 45 of file threadpool.cxx.

Referenced by isDone(), onTaskPushed(), onTaskWorkerDone(), and waitUntilDone().

std::condition_variable comphelper::ThreadTaskTag::maTasksComplete
private

Definition at line 47 of file threadpool.cxx.

Referenced by onTaskWorkerDone(), and waitUntilDone().

sal_Int32 comphelper::ThreadTaskTag::mnTasksWorking
private

Definition at line 46 of file threadpool.cxx.

Referenced by isDone(), onTaskPushed(), onTaskWorkerDone(), and waitUntilDone().


The documentation for this class was generated from the following file: