Go to the documentation of this file.
8 #include <botan/internal/mux_noop.h>
17 class Noop_Mutex :
public Mutex
23 Mutex_State_Error(
const std::string& 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;