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

Single thread locking model. More...

#include <threading_models.hpp>

Public Member Functions

void lock_shared () const
 
bool try_lock_shared () const
 
template<typename TimeT >
bool timed_lock_shared (TimeT const &) const
 
void unlock_shared () const
 
void lock () const
 
bool try_lock () const
 
template<typename TimeT >
bool timed_lock (TimeT const &) const
 
void unlock () const
 
void lock_upgrade () const
 
bool try_lock_upgrade () const
 
template<typename TimeT >
bool timed_lock_upgrade (TimeT const &) 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 (single_thread_model &)
 

Detailed Description

Single thread locking model.

Member Function Documentation

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

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