#include <scoped_lock.hpp>
Inherits boost::noncopyable.
Public Member Functions | |
| scoped_lock (Mutex &m) | |
| ~scoped_lock () | |
| void | lock () |
| void | unlock () |
Private Attributes | |
| Mutex & | mutex_ |
| bool | locked_ |
Definition at line 27 of file scoped_lock.hpp.
| asio::detail::scoped_lock< Mutex >::scoped_lock | ( | Mutex & | m | ) | [inline] |
Definition at line 32 of file scoped_lock.hpp.
References asio::detail::scoped_lock< Mutex >::locked_, and asio::detail::scoped_lock< Mutex >::mutex_.
| asio::detail::scoped_lock< Mutex >::~scoped_lock | ( | ) | [inline] |
Definition at line 40 of file scoped_lock.hpp.
References asio::detail::scoped_lock< Mutex >::locked_, and asio::detail::scoped_lock< Mutex >::mutex_.
| void asio::detail::scoped_lock< Mutex >::lock | ( | ) | [inline] |
Definition at line 47 of file scoped_lock.hpp.
References asio::detail::scoped_lock< Mutex >::locked_, and asio::detail::scoped_lock< Mutex >::mutex_.
Referenced by asio::detail::task_io_service< Task >::do_one(), asio::detail::select_reactor< Own_Thread >::run(), asio::detail::select_reactor< Own_Thread >::run_thread(), asio::detail::service_registry::use_service(), asio::detail::task_io_service< Task >::handler_cleanup::~handler_cleanup(), and asio::detail::task_io_service< Task >::task_cleanup::~task_cleanup().
| void asio::detail::scoped_lock< Mutex >::unlock | ( | ) | [inline] |
Definition at line 57 of file scoped_lock.hpp.
References asio::detail::scoped_lock< Mutex >::locked_, and asio::detail::scoped_lock< Mutex >::mutex_.
Referenced by asio::detail::strand_service::dispatch(), asio::detail::task_io_service< Task >::do_one(), asio::detail::strand_service::post(), asio::detail::strand_service::strand_impl::release(), asio::detail::select_reactor< Own_Thread >::run(), asio::detail::select_reactor< Own_Thread >::run_thread(), asio::detail::task_io_service< Task >::shutdown_service(), asio::detail::strand_service::shutdown_service(), asio::detail::select_reactor< Own_Thread >::shutdown_service(), asio::detail::service_registry::use_service(), asio::detail::strand_service::post_next_waiter_on_exit::~post_next_waiter_on_exit(), and asio::detail::strand_service::strand_impl::~strand_impl().
Mutex& asio::detail::scoped_lock< Mutex >::mutex_ [private] |
Definition at line 68 of file scoped_lock.hpp.
Referenced by asio::detail::scoped_lock< Mutex >::lock(), asio::detail::scoped_lock< Mutex >::scoped_lock(), asio::detail::scoped_lock< Mutex >::unlock(), and asio::detail::scoped_lock< Mutex >::~scoped_lock().
bool asio::detail::scoped_lock< Mutex >::locked_ [private] |
Definition at line 71 of file scoped_lock.hpp.
Referenced by asio::detail::scoped_lock< Mutex >::lock(), asio::detail::scoped_lock< Mutex >::scoped_lock(), asio::detail::scoped_lock< Mutex >::unlock(), and asio::detail::scoped_lock< Mutex >::~scoped_lock().
1.5.6