Qt 4.8
|
#include <qsystemsemaphore_p.h>
Public Functions | |
void | cleanHandle () |
HANDLE | handle (QSystemSemaphore::AccessMode mode=QSystemSemaphore::Open) |
QString | makeKeyFileName () const |
bool | modifySemaphore (int count) |
QSystemSemaphorePrivate () | |
void | setErrorString (const QString &function) |
Public Variables | |
QSystemSemaphore::SystemSemaphoreError | error |
QString | errorString |
QString | fileName |
int | initialValue |
QString | key |
HANDLE | semaphore |
HANDLE | semaphoreLock |
Definition at line 74 of file qsystemsemaphore_p.h.
QSystemSemaphorePrivate::QSystemSemaphorePrivate | ( | ) |
Definition at line 71 of file qsystemsemaphore_unix.cpp.
void QSystemSemaphorePrivate::cleanHandle | ( | ) |
Clean up the semaphore
Definition at line 242 of file qsystemsemaphore_unix.cpp.
Referenced by handle(), makeKeyFileName(), modifySemaphore(), QSystemSemaphore::setKey(), and QSystemSemaphore::~QSystemSemaphore().
HANDLE QSystemSemaphorePrivate::handle | ( | QSystemSemaphore::AccessMode | mode = QSystemSemaphore::Open | ) |
Initialise the semaphore
Definition at line 127 of file qsystemsemaphore_unix.cpp.
Referenced by makeKeyFileName(), modifySemaphore(), and QSystemSemaphore::setKey().
|
inline |
Definition at line 79 of file qsystemsemaphore_p.h.
Referenced by QSystemSemaphore::setKey().
bool QSystemSemaphorePrivate::modifySemaphore | ( | int | count | ) |
Definition at line 291 of file qsystemsemaphore_unix.cpp.
Referenced by QSystemSemaphore::acquire(), makeKeyFileName(), and QSystemSemaphore::release().
void QSystemSemaphorePrivate::setErrorString | ( | const QString & | function | ) |
Definition at line 81 of file qsystemsemaphore_unix.cpp.
Referenced by cleanHandle(), handle(), makeKeyFileName(), and modifySemaphore().
QSystemSemaphore::SystemSemaphoreError QSystemSemaphorePrivate::error |
Definition at line 118 of file qsystemsemaphore_p.h.
Referenced by QSystemSemaphore::error(), handle(), setErrorString(), and QSystemSemaphore::setKey().
QString QSystemSemaphorePrivate::errorString |
Definition at line 117 of file qsystemsemaphore_p.h.
Referenced by QSystemSemaphore::errorString(), handle(), setErrorString(), and QSystemSemaphore::setKey().
QString QSystemSemaphorePrivate::fileName |
Definition at line 101 of file qsystemsemaphore_p.h.
Referenced by cleanHandle(), handle(), and QSystemSemaphore::setKey().
int QSystemSemaphorePrivate::initialValue |
Definition at line 102 of file qsystemsemaphore_p.h.
Referenced by handle(), and QSystemSemaphore::setKey().
QString QSystemSemaphorePrivate::key |
Definition at line 100 of file qsystemsemaphore_p.h.
Referenced by handle(), QSystemSemaphore::key(), makeKeyFileName(), setErrorString(), and QSystemSemaphore::setKey().
HANDLE QSystemSemaphorePrivate::semaphore |
Definition at line 104 of file qsystemsemaphore_p.h.
Referenced by cleanHandle(), handle(), and modifySemaphore().
HANDLE QSystemSemaphorePrivate::semaphoreLock |
Definition at line 105 of file qsystemsemaphore_p.h.