libfilezilla
|
Lean rw mutex. More...
#include <rwmutex.hpp>
Public Member Functions | |
rwmutex (rwmutex const &)=delete | |
rwmutex & | operator= (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 |
Lean rw mutex.
This mutex is neither recursive, nor can read locks be upgraded to write locks.