Public Member Functions | Protected Attributes | List of all members
XMutex Class Reference

#include <xthread.h>

Inheritance diagram for XMutex:
Inheritance graph
[legend]

Public Member Functions

void lock ()
 
void unlock ()
 
bool trylock ()
 

Protected Attributes

QMutex m_mutex
 
pthread_mutex_t m_mutex
 

Detailed Description

non-recursive mutex. double lock is inhibited.

See Also
XRecursiveMutex.

Definition at line 76 of file xthread.h.

Member Function Documentation

bool XMutex::trylock ( )
Returns
true if locked.

Definition at line 29 of file xthread.cpp.


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

Generated for KAME4 by  doxygen 1.8.3