libfilezilla
Public Member Functions | Friends | List of all members
rwmutex Class Referencefinal

Lean rw mutex. More...

#include <rwmutex.hpp>

Public Member Functions

 rwmutex (rwmutex const &)=delete
 
rwmutexoperator= (rwmutex const &)=delete
 
void lock_read ()
 Beware, manual locking isn't exception safe, use scoped_lock.
 
void lock_write ()
 
void unlock_read ()
 Beware, manual locking isn't exception safe, use scoped_lock.
 
void unlock_write ()
 

Friends

class scoped_read_lock
 
class scoped_write_lock
 

Detailed Description

Lean rw mutex.

This mutex is neither recursive, nor can read locks be upgraded to write locks.


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