Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class null_mutex

boost::interprocess::null_mutex

Synopsis

// In header: <boost/interprocess/sync/null_mutex.hpp>


class null_mutex {
public:

  // public member functions
  () ;
  ~();
   ();
   ();
  template<typename TimePoint>  ();
  template<typename TimePoint>  ();
  template<typename Duration>  ();
   ();
   ();
   ();
   ();
   ();
  template<typename TimePoint>  ();
   ();
   ();
   ();
   ();
  template<typename TimePoint>  ();
   ();
   ();
   ();
   ();
   ();
   ();
  template<typename TimePoint> 
     ();
   ();
   ();
};

Description

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

null_mutex public member functions

  1. () ;

    Constructor. Empty.

  2. ~();

    Destructor. Empty.

  3.  ();
    Simulates a mutex lock() operation. Empty function.
  4.  ();

    Simulates a mutex try_lock() operation. Equivalent to "return true;"

  5. template<typename TimePoint>  ();

    Simulates a mutex timed_lock() operation. Equivalent to "return true;"

  6. template<typename TimePoint>  ();

    Same as timed_lock, but this function is modeled after the standard library interface.

  7. template<typename Duration>  ();

    Same as timed_lock, but this function is modeled after the standard library interface.

  8.  ();

    Simulates a mutex unlock() operation. Empty function.

  9.  ();

    Simulates a mutex lock_sharable() operation. Empty function.

  10.  ();

    Same as lock_sharable but with a std-compatible interface

  11.  ();

    Simulates a mutex try_lock_sharable() operation. Equivalent to "return true;"

  12.  ();

    Same as try_lock_sharable but with a std-compatible interface

  13. template<typename TimePoint>  ();

    Simulates a mutex timed_lock_sharable() operation. Equivalent to "return true;"

  14.  ();

    Simulates a mutex unlock_sharable() operation. Empty function.

  15.  ();

    Same as unlock_sharable but with a std-compatible interface

  16.  ();

    Simulates a mutex lock_upgradable() operation. Empty function.

  17.  ();

    Simulates a mutex try_lock_upgradable() operation. Equivalent to "return true;"

  18. template<typename TimePoint>  ();

    Simulates a mutex timed_lock_upgradable() operation. Equivalent to "return true;"

  19.  ();

    Simulates a mutex unlock_upgradable() operation. Empty function.

  20.  ();

    Simulates unlock_and_lock_upgradable(). Empty function.

  21.  ();

    Simulates unlock_and_lock_sharable(). Empty function.

  22.  ();

    Simulates unlock_upgradable_and_lock_sharable(). Empty function.

  23.  ();

    Simulates unlock_upgradable_and_lock(). Empty function.

  24.  ();

    Simulates try_unlock_upgradable_and_lock(). Equivalent to "return true;"

  25. template<typename TimePoint> 
       ();

    Simulates timed_unlock_upgradable_and_lock(). Equivalent to "return true;"

  26.  ();

    Simulates try_unlock_sharable_and_lock(). Equivalent to "return true;"

  27.  ();

    Simulates try_unlock_sharable_and_lock_upgradable(). Equivalent to "return true;"


PrevUpHomeNext