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::RWLock Class Reference

The RWLock allows multiple readers to simultaneously access a critical code section or one writer. More...

#include <thread.hh>

List of all members.

Public Types

typedef pthread_rwlock_tnative_handle_type

Public Member Functions

void rdlock ()
void wrlock ()
void unlock ()
bool try_rdlock ()
bool try_wrlock ()
native_handle_type native_handle ()
 RWLock (const RWLock &)
Mutexoperator= (const RWLock &)

Detailed Description

The RWLock allows multiple readers to simultaneously access a critical code section or one writer.

This class is a thin wrapper around pthread_rwlock_rdlock() 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