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:
  // construct/copy/destruct
  ();
  ~();

  // public member functions
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
   ();
};

Description

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

null_mutex public construct/copy/destruct

  1. ();

    Constructor. Empty.

  2. ~();

    Destructor. Empty.

null_mutex public member functions

  1.  ();
    Simulates a mutex lock() operation. Empty function.
  2.  ();

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

  3.  ();

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

  4.  ();

    Simulates a mutex unlock() operation. Empty function.

  5.  ();

    Simulates a mutex lock_sharable() operation. Empty function.

  6.  ();

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

  7.  ();

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

  8.  ();

    Simulates a mutex unlock_sharable() operation. Empty function.

  9.  ();

    Simulates a mutex lock_upgradable() operation. Empty function.

  10.  ();

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

  11.  ();

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

  12.  ();

    Simulates a mutex unlock_upgradable() operation. Empty function.

  13.  ();

    Simulates unlock_and_lock_upgradable(). Empty function.

  14.  ();

    Simulates unlock_and_lock_sharable(). Empty function.

  15.  ();

    Simulates unlock_upgradable_and_lock_sharable(). Empty function.

  16.  ();

    Simulates unlock_upgradable_and_lock(). Empty function.

  17.  ();

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

  18.  ();

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

  19.  ();

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

  20.  ();

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


PrevUpHomeNext