proxygen
OpenSSLThreading.cpp File Reference
#include <folly/ssl/detail/OpenSSLThreading.h>
#include <memory>
#include <mutex>
#include <folly/Portability.h>
#include <folly/SharedMutex.h>
#include <folly/SpinLock.h>
#include <glog/logging.h>
#include <folly/portability/Windows.h>
#include <openssl/crypto.h>

Go to the source code of this file.

Classes

struct  CRYPTO_dynlock_value
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::ssl
 
 folly::ssl::detail
 

Macros

#define FOLLY_SSL_DETAIL_OPENSSL_IS_110   (OPENSSL_VERSION_NUMBER >= 0x10100000L)
 

Functions

static std::map< int, LockType > & folly::ssl::detail::lockTypes ()
 
void folly::ssl::detail::setLockTypes (std::map< int, LockType > inLockTypes)
 
bool folly::ssl::detail::isSSLLockDisabled (int lockId)
 
static std::unique_ptr< SSLLock[]> & folly::ssl::detail::locks ()
 
static void folly::ssl::detail::callbackLocking (int mode, int n, const char *, int)
 
static unsigned long folly::ssl::detail::callbackThreadID ()
 
static CRYPTO_dynlock_valuefolly::ssl::detail::dyn_create (const char *, int)
 
static void folly::ssl::detail::dyn_lock (int mode, struct CRYPTO_dynlock_value *lock, const char *, int)
 
static void folly::ssl::detail::dyn_destroy (struct CRYPTO_dynlock_value *lock, const char *, int)
 
void folly::ssl::detail::installThreadingLocks ()
 
void folly::ssl::detail::cleanupThreadingLocks ()
 

Macro Definition Documentation

#define FOLLY_SSL_DETAIL_OPENSSL_IS_110   (OPENSSL_VERSION_NUMBER >= 0x10100000L)

Definition at line 35 of file OpenSSLThreading.cpp.

Variable Documentation

LockType lockType

Definition at line 105 of file OpenSSLThreading.cpp.

Referenced by folly::ssl::detail::isSSLLockDisabled().

std::mutex mutex

Definition at line 107 of file OpenSSLThreading.cpp.

SharedMutex sharedMutex

Definition at line 108 of file OpenSSLThreading.cpp.

Referenced by folly::ssl::detail::isSSLLockDisabled().

folly::SpinLock spinLock {}

Definition at line 106 of file OpenSSLThreading.cpp.

Referenced by folly::ssl::detail::isSSLLockDisabled().