7 #ifndef BOTAN_RWLOCK_H_
8 #define BOTAN_RWLOCK_H_
10 #include <botan/types.h>
12 #include <condition_variable>
31 std::condition_variable m_gate1;
32 std::condition_variable m_gate2;
36 static const uint32_t is_writing =
static_cast<uint32_t
>(1) << 31;
37 static const uint32_t readers_mask = ~is_writing;
int(* final)(unsigned char *, CTX *)
std::vector< T > unlock(const secure_vector< T > &in)