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

◆ ThreadTaskTag()

comphelper::ThreadTaskTag::ThreadTaskTag ( )

Definition at line 335 of file threadpool.cxx.

Member Function Documentation

◆ isDone()

bool comphelper::ThreadTaskTag::isDone ( )

Definition at line 355 of file threadpool.cxx.

References maMutex, and mnTasksWorking.

◆ onTaskPushed()

void comphelper::ThreadTaskTag::onTaskPushed ( )

Definition at line 339 of file threadpool.cxx.

References maMutex, and mnTasksWorking.

◆ onTaskWorkerDone()

void comphelper::ThreadTaskTag::onTaskWorkerDone ( )

Definition at line 346 of file threadpool.cxx.

References maMutex, maTasksComplete, and mnTasksWorking.

◆ waitUntilDone()

void comphelper::ThreadTaskTag::waitUntilDone ( )

Member Data Documentation

◆ maMutex

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

Definition at line 45 of file threadpool.cxx.

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

◆ maTasksComplete

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

Definition at line 47 of file threadpool.cxx.

Referenced by onTaskWorkerDone(), and waitUntilDone().

◆ mnTasksWorking

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: