Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sources::multi_thread_model< MutexT > Struct Template Reference

Multi-thread locking model with maximum locking capabilities. More...

#include <threading_models.hpp>

Public Member Functions

 multi_thread_model ()
 
 multi_thread_model (multi_thread_model const &)
 
multi_thread_modeloperator= (multi_thread_model const &)
 
void lock_shared () const
 
bool try_lock_shared () const
 
template<typename TimeT >
bool timed_lock_shared (TimeT const &t) const
 
void unlock_shared () const
 
void lock () const
 
bool try_lock () const
 
template<typename TimeT >
bool timed_lock (TimeT const &t) const
 
void unlock () const
 
void lock_upgrade () const
 
bool try_lock_upgrade () const
 
template<typename TimeT >
bool timed_lock_upgrade (TimeT const &t) const
 
void unlock_upgrade () const
 
void unlock_upgrade_and_lock () const
 
void unlock_and_lock_upgrade () const
 
void unlock_and_lock_shared () const
 
void unlock_upgrade_and_lock_shared () const
 
void swap (multi_thread_model &)
 

Detailed Description

template<typename MutexT>
struct boost::sources::multi_thread_model< MutexT >

Multi-thread locking model with maximum locking capabilities.

Constructor & Destructor Documentation

template<typename MutexT >
boost::sources::multi_thread_model< MutexT >::multi_thread_model ( )
inline
template<typename MutexT >
boost::sources::multi_thread_model< MutexT >::multi_thread_model ( multi_thread_model< MutexT > const &  )
inline

Member Function Documentation

template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::lock ( void  ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::lock_shared ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::lock_upgrade ( ) const
inline
template<typename MutexT >
multi_thread_model& boost::sources::multi_thread_model< MutexT >::operator= ( multi_thread_model< MutexT > const &  )
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::swap ( multi_thread_model< MutexT > &  )
inline
template<typename MutexT >
template<typename TimeT >
bool boost::sources::multi_thread_model< MutexT >::timed_lock ( TimeT const &  t) const
inline
template<typename MutexT >
template<typename TimeT >
bool boost::sources::multi_thread_model< MutexT >::timed_lock_shared ( TimeT const &  t) const
inline
template<typename MutexT >
template<typename TimeT >
bool boost::sources::multi_thread_model< MutexT >::timed_lock_upgrade ( TimeT const &  t) const
inline
template<typename MutexT >
bool boost::sources::multi_thread_model< MutexT >::try_lock ( void  ) const
inline
template<typename MutexT >
bool boost::sources::multi_thread_model< MutexT >::try_lock_shared ( ) const
inline
template<typename MutexT >
bool boost::sources::multi_thread_model< MutexT >::try_lock_upgrade ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock ( void  ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock_and_lock_shared ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock_and_lock_upgrade ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock_shared ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock_upgrade ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock_upgrade_and_lock ( ) const
inline
template<typename MutexT >
void boost::sources::multi_thread_model< MutexT >::unlock_upgrade_and_lock_shared ( ) const
inline

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