7#ifndef BOTAN_UTIL_MUTEX_H_
8#define BOTAN_UTIL_MUTEX_H_
10#include <botan/types.h>
12#if defined(BOTAN_TARGET_OS_HAS_THREADS)
18#if defined(BOTAN_TARGET_OS_HAS_THREADS)
40template <
typename Mutex>
43 explicit lock_guard(Mutex& m) : m_mutex(m) { m_mutex.lock(); }
lock_guard & operator=(const lock_guard &other)=delete
lock_guard(const lock_guard &other)=delete
int(* final)(unsigned char *, CTX *)
noop_mutex recursive_mutex_type
lock_guard< T > lock_guard_type