ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

No Matches
ost::Mutex Class Reference

#include <thread.h>

Inheritance diagram for ost::Mutex:
Collaboration diagram for ost::Mutex:

Public Member Functions

 Mutex ()
void enterMutex (void)
void leaveMutex (void)
bool tryEnterMutex (void)
void enter (void)
void leave (void)
bool test (void)

Private Member Functions

 __DELETE_COPY (Mutex)

Additional Inherited Members

- Protected Types inherited from ucommon::RecursiveMutex
typedef autoexclusive< RecursiveMutexautolock
- Protected Member Functions inherited from ucommon::RecursiveMutex
virtual void _lock (void) __OVERRIDE
virtual void _unlock (void) __OVERRIDE
 RecursiveMutex ()
 Create rexlock. More...
void lock (void)
 Acquire or increase locking. More...
bool lock (timeout_t timeout)
 Timed lock request. More...
void release (void)
 Release or decrease locking. More...
- Protected Attributes inherited from ucommon::RecursiveMutex
unsigned waiting
unsigned lockers
pthread_t locker

Detailed Description

Definition at line 62 of file thread.h.

Constructor & Destructor Documentation

◆ Mutex()

ost::Mutex::Mutex ( )

Definition at line 68 of file thread.h.

Member Function Documentation


ost::Mutex::__DELETE_COPY ( Mutex  )

◆ enter()

void ost::Mutex::enter ( void  )

Definition at line 82 of file thread.h.

◆ enterMutex()

◆ leave()

void ost::Mutex::leave ( void  )

Definition at line 86 of file thread.h.

◆ leaveMutex()

◆ test()

bool ost::Mutex::test ( void  )

Definition at line 90 of file thread.h.

◆ tryEnterMutex()

bool ost::Mutex::tryEnterMutex ( void  )

Definition at line 78 of file thread.h.

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