Implements a mutex that simulates a mutex without doing any operation and simulates a successful operation. More...
#include <null_mutex.hpp>
Implements a mutex that simulates a mutex without doing any operation and simulates a successful operation.
|
inline |
Constructor.
Empty.
|
inline |
Destructor.
Empty.
|
inline |
Simulates a mutex lock() operation. Empty function.
|
inline |
Simulates a mutex lock_sharable() operation.
Empty function.
|
inline |
Simulates a mutex lock_upgradable() operation.
Empty function.
|
inline |
Simulates a mutex timed_lock() operation.
Equivalent to "return true;"
|
inline |
Simulates a mutex timed_lock_sharable() operation.
Equivalent to "return true;"
|
inline |
Simulates a mutex timed_lock_upgradable() operation.
Equivalent to "return true;"
|
inline |
Simulates timed_unlock_upgradable_and_lock().
Equivalent to "return true;"
|
inline |
Simulates a mutex try_lock() operation.
Equivalent to "return true;"
|
inline |
Simulates a mutex try_lock_sharable() operation.
Equivalent to "return true;"
|
inline |
Simulates a mutex try_lock_upgradable() operation.
Equivalent to "return true;"
|
inline |
Simulates try_unlock_sharable_and_lock().
Equivalent to "return true;"
|
inline |
Simulates try_unlock_sharable_and_lock_upgradable().
Equivalent to "return true;"
|
inline |
Simulates try_unlock_upgradable_and_lock().
Equivalent to "return true;"
|
inline |
Simulates a mutex unlock() operation.
Empty function.
|
inline |
Simulates unlock_and_lock_sharable().
Empty function.
|
inline |
Simulates unlock_and_lock_upgradable().
Empty function.
|
inline |
Simulates a mutex unlock_sharable() operation.
Empty function.
|
inline |
Simulates a mutex unlock_upgradable() operation.
Empty function.
|
inline |
Simulates unlock_upgradable_and_lock().
Empty function.
|
inline |
Simulates unlock_upgradable_and_lock_sharable().
Empty function.