mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 22:09:54 +01:00
* Support rwlock * Fix typo, ENABLE_SESSION_CACHE_ROW_LOCK with TITAN_SESSION_CACHE * Implement read lock - Use read lock for the SessionCache - Don't copy the * TLS 1.3: Don't push ticket to cache if we don't retrieve from it * Detect rwlock support with PTHREAD_RWLOCK_INITIALIZER * Implement explicit rwlocks - Mutex's still necessary for signals. Implement explicit rwlocks and we can migrate critical mutexs to rwlocks when necessary. * Remove WOLFSSL_USE_RWLOCK guard around mutex condLock * condLock not necessary after all * Use configure.ac to check for pthread_rwlock_destroy support * Can't include config.h in wc_port.h as that breaks make distcheck * Check for pthread_rwlock_t to determine if rwlock is available * Code review --------- Co-authored-by: Juliusz Sosinowicz <juliusz@wolfssl.com>