Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Types | Public Member Functions
Rapicorn::Mutex Class Reference

The Mutex synchronization primitive is a thin wrapper around std::mutex. More...

#include <thread.hh>

List of all members.

Public Types

typedef pthread_mutex_tnative_handle_type

Public Member Functions

constexpr Mutex (struct RECURSIVE_LOCK)
void lock ()
void unlock ()
bool try_lock ()
bool debug_locked ()
 Debugging hook, returns if the Mutex is currently locked, might not work with all threading implementations.
native_handle_type native_handle ()
 Mutex (const Mutex &)
Mutexoperator= (const Mutex &)

Detailed Description

The Mutex synchronization primitive is a thin wrapper around std::mutex.

This class is a thin wrapper around pthread_mutex_lock() and related functions. This class supports static construction.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines