1 #ifndef CRYPTOPP_TRDLOCAL_H
2 #define CRYPTOPP_TRDLOCAL_H
6 #ifdef THREADS_AVAILABLE
11 typedef unsigned long ThreadLocalIndexType;
14 typedef pthread_key_t ThreadLocalIndexType;
17 NAMESPACE_BEGIN(CryptoPP)
27 Err(
const std::string& operation,
int error);
33 void SetValue(
void *value);
34 void *GetValue()
const;
37 ThreadLocalIndexType m_index;
42 #endif // #ifdef THREADS_AVAILABLE
exception thrown by ThreadLocalStorage class
error reported by the operating system