proxygen
|
Classes | |
class | SSLSessionImpl |
Functions | |
static std::map< int, LockType > & | lockTypes () |
void | setLockTypes (std::map< int, LockType > inLockTypes) |
bool | isSSLLockDisabled (int lockId) |
static std::unique_ptr< SSLLock[]> & | locks () |
static void | callbackLocking (int mode, int n, const char *, int) |
static unsigned long | callbackThreadID () |
static CRYPTO_dynlock_value * | dyn_create (const char *, int) |
static void | dyn_lock (int mode, struct CRYPTO_dynlock_value *lock, const char *, int) |
static void | dyn_destroy (struct CRYPTO_dynlock_value *lock, const char *, int) |
void | installThreadingLocks () |
void | cleanupThreadingLocks () |
|
static |
Definition at line 123 of file OpenSSLThreading.cpp.
References locks().
Referenced by installThreadingLocks().
|
static |
Definition at line 131 of file OpenSSLThreading.cpp.
References folly::getCurrentThreadID().
Referenced by installThreadingLocks().
void folly::ssl::detail::cleanupThreadingLocks | ( | ) |
Definition at line 168 of file OpenSSLThreading.cpp.
References locks().
Referenced by folly::portability::ssl::OPENSSL_cleanup().
|
static |
Definition at line 135 of file OpenSSLThreading.cpp.
Referenced by installThreadingLocks().
|
static |
Definition at line 150 of file OpenSSLThreading.cpp.
References folly::detail::lock().
Referenced by installThreadingLocks().
|
static |
Definition at line 140 of file OpenSSLThreading.cpp.
References CRYPTO_dynlock_value::mutex.
Referenced by installThreadingLocks().
void folly::ssl::detail::installThreadingLocks | ( | ) |
Definition at line 154 of file OpenSSLThreading.cpp.
References callbackLocking(), callbackThreadID(), dyn_create(), dyn_destroy(), dyn_lock(), locks(), and lockTypes().
Referenced by folly::portability::ssl::OPENSSL_init_ssl().
bool folly::ssl::detail::isSSLLockDisabled | ( | int | lockId | ) |
Definition at line 64 of file OpenSSLThreading.cpp.
References folly::SpinLock::lock(), folly::detail::lock(), lockType, lockTypes(), CRYPTO_dynlock_value::mutex, fizz::detail::read(), sharedMutex, spinLock, and folly::SpinLock::unlock().
Referenced by folly::ssl::isLockDisabled().
|
static |
Definition at line 118 of file OpenSSLThreading.cpp.
Referenced by callbackLocking(), cleanupThreadingLocks(), installThreadingLocks(), folly::lock(), runContended(), runFairness(), runPingPong(), and folly::TEST().
Definition at line 50 of file OpenSSLThreading.cpp.
Referenced by installThreadingLocks(), isSSLLockDisabled(), and setLockTypes().
Definition at line 55 of file OpenSSLThreading.cpp.
References folly::INFO, and lockTypes().
Referenced by folly::ssl::setLockTypes(), and folly::ssl::setLockTypesAndInit().