Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWaitConditionPrivate Class Reference
Collaboration diagram for QWaitConditionPrivate:

Public Member Functions

int wait_relative (QDeadlineTimer deadline)
bool wait (QDeadlineTimer deadline)
QWaitConditionEventpre ()
bool wait (QWaitConditionEvent *wce, QDeadlineTimer deadline)
void post (QWaitConditionEvent *wce, bool ret)
int wait_relative (QDeadlineTimer deadline)
bool wait (QDeadlineTimer deadline)
QWaitConditionEventpre ()
bool wait (QWaitConditionEvent *wce, QDeadlineTimer deadline)
void post (QWaitConditionEvent *wce, bool ret)

Public Attributes

pthread_mutex_t mutex
pthread_cond_t cond
int waiters
int wakeups
QMutex mtx
EventQueue queue
EventQueue freeQueue

Detailed Description

Definition at line 47 of file qwaitcondition_unix.cpp.

Member Function Documentation

◆ post() [1/2]

void QWaitConditionPrivate::post ( QWaitConditionEvent * wce,
bool ret )

Definition at line 93 of file qwaitcondition_win.cpp.

References QWaitConditionEvent::wokenUp.

◆ post() [2/2]

void QWaitConditionPrivate::post ( QWaitConditionEvent * wce,
bool ret )

◆ pre() [1/2]

QWaitConditionEvent * QWaitConditionPrivate::pre ( )

◆ pre() [2/2]

QWaitConditionEvent * QWaitConditionPrivate::pre ( )

◆ wait() [1/4]

bool QWaitConditionPrivate::wait ( QDeadlineTimer deadline)
inline

Definition at line 61 of file qwaitcondition_unix.cpp.

References mutex, qt_report_pthread_error(), waiters, and wakeups.

Here is the call graph for this function:

◆ wait() [2/4]

bool QWaitConditionPrivate::wait ( QDeadlineTimer deadline)
inline

Definition at line 61 of file qwaitcondition_unix.cpp.

◆ wait() [3/4]

bool QWaitConditionPrivate::wait ( QWaitConditionEvent * wce,
QDeadlineTimer deadline )

Definition at line 72 of file qwaitcondition_win.cpp.

◆ wait() [4/4]

bool QWaitConditionPrivate::wait ( QWaitConditionEvent * wce,
QDeadlineTimer deadline )

◆ wait_relative() [1/2]

int QWaitConditionPrivate::wait_relative ( QDeadlineTimer deadline)
inline

Definition at line 55 of file qwaitcondition_unix.cpp.

References cond, and mutex.

◆ wait_relative() [2/2]

int QWaitConditionPrivate::wait_relative ( QDeadlineTimer deadline)
inline

Definition at line 55 of file qwaitcondition_unix.cpp.

Member Data Documentation

◆ cond

pthread_cond_t QWaitConditionPrivate::cond

Definition at line 51 of file qwaitcondition_unix.cpp.

Referenced by wait_relative().

◆ freeQueue

EventQueue QWaitConditionPrivate::freeQueue

Definition at line 44 of file qwaitcondition_win.cpp.

◆ mtx

QMutex QWaitConditionPrivate::mtx

Definition at line 42 of file qwaitcondition_win.cpp.

◆ mutex

pthread_mutex_t QWaitConditionPrivate::mutex

Definition at line 50 of file qwaitcondition_unix.cpp.

Referenced by wait(), and wait_relative().

◆ queue

EventQueue QWaitConditionPrivate::queue

Definition at line 43 of file qwaitcondition_win.cpp.

◆ waiters

int QWaitConditionPrivate::waiters

Definition at line 52 of file qwaitcondition_unix.cpp.

Referenced by wait().

◆ wakeups

int QWaitConditionPrivate::wakeups

Definition at line 53 of file qwaitcondition_unix.cpp.

Referenced by wait().


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