#include <shared_mutex_win.hpp>
Classes | |
| struct | state_data |
Public Member Functions | |
| void | lock () |
| void | lock_shared () |
| void | lock_upgrade () |
| modified_shared_mutex () | |
| bool | timed_lock (boost::system_time const &wait_until) |
| template<typename TimeDuration > | |
| bool | timed_lock (TimeDuration const &relative_time) |
| bool | timed_lock_shared (boost::system_time const &wait_until) |
| template<typename TimeDuration > | |
| bool | timed_lock_shared (TimeDuration const &relative_time) |
| bool | try_lock () |
| bool | try_lock_shared () |
| bool | try_lock_upgrade () |
| void | unlock () |
| void | unlock_and_lock_shared () |
| void | unlock_and_lock_upgrade () |
| void | unlock_shared () |
| void | unlock_upgrade () |
| void | unlock_upgrade_and_lock () |
| void | unlock_upgrade_and_lock_shared () |
| ~modified_shared_mutex () | |
Private Member Functions | |
| template<typename T > | |
| T | interlocked_compare_exchange (T *target, T new_value, T comparand) |
| void | release_waiters (state_data old_state) |
Private Attributes | |
| detail::win32::handle & | exclusive_sem |
| detail::win32::handle | semaphores [2] |
| state_data | state |
| detail::win32::handle & | unlock_sem |
| detail::win32::handle | upgrade_sem |
Definition at line 27 of file shared_mutex_win.hpp.
| boost::modified_shared_mutex::modified_shared_mutex | ( | ) | [inline] |
Definition at line 78 of file shared_mutex_win.hpp.
| boost::modified_shared_mutex::~modified_shared_mutex | ( | ) | [inline] |
Definition at line 89 of file shared_mutex_win.hpp.
| T boost::modified_shared_mutex::interlocked_compare_exchange | ( | T * | target, | |
| T | new_value, | |||
| T | comparand | |||
| ) | [inline, private] |
Definition at line 48 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::lock | ( | ) | [inline] |
Definition at line 241 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::lock_shared | ( | ) | [inline] |
Definition at line 117 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::lock_upgrade | ( | ) | [inline] |
Definition at line 373 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::release_waiters | ( | state_data | old_state | ) | [inline, private] |
Definition at line 63 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::timed_lock | ( | boost::system_time const & | wait_until | ) | [inline] |
Definition at line 278 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::timed_lock | ( | TimeDuration const & | relative_time | ) | [inline] |
Definition at line 247 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::timed_lock_shared | ( | boost::system_time const & | wait_until | ) | [inline] |
Definition at line 128 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::timed_lock_shared | ( | TimeDuration const & | relative_time | ) | [inline] |
Definition at line 123 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::try_lock | ( | ) | [inline] |
Definition at line 252 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::try_lock_shared | ( | ) | [inline] |
Definition at line 96 of file shared_mutex_win.hpp.
| bool boost::modified_shared_mutex::try_lock_upgrade | ( | ) | [inline] |
Definition at line 408 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock | ( | ) | [inline] |
Definition at line 349 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock_and_lock_shared | ( | ) | [inline] |
Definition at line 519 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock_and_lock_upgrade | ( | ) | [inline] |
Definition at line 493 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock_shared | ( | ) | [inline] |
Definition at line 195 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock_upgrade | ( | ) | [inline] |
Definition at line 434 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock_upgrade_and_lock | ( | ) | [inline] |
Definition at line 466 of file shared_mutex_win.hpp.
| void boost::modified_shared_mutex::unlock_upgrade_and_lock_shared | ( | ) | [inline] |
Definition at line 544 of file shared_mutex_win.hpp.
detail::win32::handle& boost::modified_shared_mutex::exclusive_sem [private] |
Definition at line 60 of file shared_mutex_win.hpp.
detail::win32::handle boost::modified_shared_mutex::semaphores[2] [private] |
Definition at line 58 of file shared_mutex_win.hpp.
Definition at line 57 of file shared_mutex_win.hpp.
detail::win32::handle& boost::modified_shared_mutex::unlock_sem [private] |
Definition at line 59 of file shared_mutex_win.hpp.
detail::win32::handle boost::modified_shared_mutex::upgrade_sem [private] |
Definition at line 61 of file shared_mutex_win.hpp.