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

Implements a mutex that simulates a mutex without doing any operation and simulates a successful operation. More...

#include <null_mutex.hpp>

Public Member Functions

 null_mutex ()
 Constructor. More...
 
 ~null_mutex ()
 Destructor. More...
 
void lock ()
 Simulates a mutex lock() operation. Empty function. More...
 
bool try_lock ()
 Simulates a mutex try_lock() operation. More...
 
bool timed_lock (const boost::posix_time::ptime &)
 Simulates a mutex timed_lock() operation. More...
 
void unlock ()
 Simulates a mutex unlock() operation. More...
 
void lock_sharable ()
 Simulates a mutex lock_sharable() operation. More...
 
bool try_lock_sharable ()
 Simulates a mutex try_lock_sharable() operation. More...
 
bool timed_lock_sharable (const boost::posix_time::ptime &)
 Simulates a mutex timed_lock_sharable() operation. More...
 
void unlock_sharable ()
 Simulates a mutex unlock_sharable() operation. More...
 
void lock_upgradable ()
 Simulates a mutex lock_upgradable() operation. More...
 
bool try_lock_upgradable ()
 Simulates a mutex try_lock_upgradable() operation. More...
 
bool timed_lock_upgradable (const boost::posix_time::ptime &)
 Simulates a mutex timed_lock_upgradable() operation. More...
 
void unlock_upgradable ()
 Simulates a mutex unlock_upgradable() operation. More...
 
void unlock_and_lock_upgradable ()
 Simulates unlock_and_lock_upgradable(). More...
 
void unlock_and_lock_sharable ()
 Simulates unlock_and_lock_sharable(). More...
 
void unlock_upgradable_and_lock_sharable ()
 Simulates unlock_upgradable_and_lock_sharable(). More...
 
void unlock_upgradable_and_lock ()
 Simulates unlock_upgradable_and_lock(). More...
 
bool try_unlock_upgradable_and_lock ()
 Simulates try_unlock_upgradable_and_lock(). More...
 
bool timed_unlock_upgradable_and_lock (const boost::posix_time::ptime &)
 Simulates timed_unlock_upgradable_and_lock(). More...
 
bool try_unlock_sharable_and_lock ()
 Simulates try_unlock_sharable_and_lock(). More...
 
bool try_unlock_sharable_and_lock_upgradable ()
 Simulates try_unlock_sharable_and_lock_upgradable(). More...
 

Detailed Description

Implements a mutex that simulates a mutex without doing any operation and simulates a successful operation.

Constructor & Destructor Documentation

boost::interprocess::null_mutex::null_mutex ( )
inline

Constructor.

Empty.

boost::interprocess::null_mutex::~null_mutex ( )
inline

Destructor.

Empty.

Member Function Documentation

void boost::interprocess::null_mutex::lock ( )
inline

Simulates a mutex lock() operation. Empty function.

void boost::interprocess::null_mutex::lock_sharable ( )
inline

Simulates a mutex lock_sharable() operation.

Empty function.

void boost::interprocess::null_mutex::lock_upgradable ( )
inline

Simulates a mutex lock_upgradable() operation.

Empty function.

bool boost::interprocess::null_mutex::timed_lock ( const boost::posix_time::ptime )
inline

Simulates a mutex timed_lock() operation.

Equivalent to "return true;"

bool boost::interprocess::null_mutex::timed_lock_sharable ( const boost::posix_time::ptime )
inline

Simulates a mutex timed_lock_sharable() operation.

Equivalent to "return true;"

bool boost::interprocess::null_mutex::timed_lock_upgradable ( const boost::posix_time::ptime )
inline

Simulates a mutex timed_lock_upgradable() operation.

Equivalent to "return true;"

bool boost::interprocess::null_mutex::timed_unlock_upgradable_and_lock ( const boost::posix_time::ptime )
inline

Simulates timed_unlock_upgradable_and_lock().

Equivalent to "return true;"

bool boost::interprocess::null_mutex::try_lock ( )
inline

Simulates a mutex try_lock() operation.

Equivalent to "return true;"

bool boost::interprocess::null_mutex::try_lock_sharable ( )
inline

Simulates a mutex try_lock_sharable() operation.

Equivalent to "return true;"

bool boost::interprocess::null_mutex::try_lock_upgradable ( )
inline

Simulates a mutex try_lock_upgradable() operation.

Equivalent to "return true;"

bool boost::interprocess::null_mutex::try_unlock_sharable_and_lock ( )
inline

Simulates try_unlock_sharable_and_lock().

Equivalent to "return true;"

bool boost::interprocess::null_mutex::try_unlock_sharable_and_lock_upgradable ( )
inline

Simulates try_unlock_sharable_and_lock_upgradable().

Equivalent to "return true;"

bool boost::interprocess::null_mutex::try_unlock_upgradable_and_lock ( )
inline

Simulates try_unlock_upgradable_and_lock().

Equivalent to "return true;"

void boost::interprocess::null_mutex::unlock ( )
inline

Simulates a mutex unlock() operation.

Empty function.

void boost::interprocess::null_mutex::unlock_and_lock_sharable ( )
inline

Simulates unlock_and_lock_sharable().

Empty function.

void boost::interprocess::null_mutex::unlock_and_lock_upgradable ( )
inline

Simulates unlock_and_lock_upgradable().

Empty function.

void boost::interprocess::null_mutex::unlock_sharable ( )
inline

Simulates a mutex unlock_sharable() operation.

Empty function.

void boost::interprocess::null_mutex::unlock_upgradable ( )
inline

Simulates a mutex unlock_upgradable() operation.

Empty function.

void boost::interprocess::null_mutex::unlock_upgradable_and_lock ( )
inline

Simulates unlock_upgradable_and_lock().

Empty function.

void boost::interprocess::null_mutex::unlock_upgradable_and_lock_sharable ( )
inline

Simulates unlock_upgradable_and_lock_sharable().

Empty function.


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