#include <mux_noop.h>
No-Op Mutex Factory 
Definition at line 18 of file mux_noop.h.
◆ make()
  
  | 
        
          | Mutex * Botan::Noop_Mutex_Factory::make | ( |  | ) |  |  | virtual | 
 
- Returns
- newly allocated mutex 
Implements Botan::Mutex_Factory.
Definition at line 15 of file mux_noop.cpp.
   17    class Noop_Mutex : 
public Mutex
    20          class Mutex_State_Error : 
public Internal_Error
    23                Mutex_State_Error(
const std::string& where) :
    24                   Internal_Error(
"Noop_Mutex::" + where + 
": " +
    25                                  "Mutex is already " + where + 
"ed") {}
    31                throw Mutex_State_Error(
"lock");
    38                throw Mutex_State_Error(
"unlock");
    42          Noop_Mutex() { locked = 
false; }
    47    return new Noop_Mutex;
  
 
The documentation for this class was generated from the following files: