1#ifndef LIBFILEZILLA_RWMUTEX_HEADER
2#define LIBFILEZILLA_RWMUTEX_HEADER
11#include "glue/windows.hpp"
81 friend class scoped_read_lock;
82 friend class scoped_write_lock;
131 locked_ =
op.locked_;
140 locked_ =
op.locked_;
180 bool locked_{
true };
220 locked_ =
op.locked_;
229 locked_ =
op.locked_;
269 bool locked_{
true };
Lean rw mutex.
Definition rwmutex.hpp:24
void lock_read()
Beware, manual locking isn't exception safe, use scoped_lock.
Definition rwmutex.hpp:43
void unlock_read()
Beware, manual locking isn't exception safe, use scoped_lock.
Definition rwmutex.hpp:62
A simple scoped read lock.
Definition rwmutex.hpp:100
void unlock()
Releases the mutex.
Definition rwmutex.hpp:164
void lock()
Obtains the mutex.
Definition rwmutex.hpp:150
A simple scoped read lock.
Definition rwmutex.hpp:189
void unlock()
Releases the mutex.
Definition rwmutex.hpp:253
void lock()
Obtains the mutex.
Definition rwmutex.hpp:239
Sets some global macros and further includes string.hpp.
The namespace used by libfilezilla.
Definition apply.hpp:17
bool dispatch(event_base const &ev, F &&f)
Dispatch for simple_event<> based events to simple functors.
Definition event_handler.hpp:199
Assorted classes dealing with time.