Searched refs:rwlock (Results 1 – 1 of 1) sorted by relevance
457 CRYPTO_win_rwlock *rwlock; in CRYPTO_THREAD_lock_new() local462 rwlock = lock; in CRYPTO_THREAD_lock_new()463 InitializeSRWLock(&rwlock->lock); in CRYPTO_THREAD_lock_new()487 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_read_lock() local489 AcquireSRWLockShared(&rwlock->lock); in CRYPTO_THREAD_read_lock()499 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_write_lock() local501 AcquireSRWLockExclusive(&rwlock->lock); in CRYPTO_THREAD_write_lock()502 rwlock->exclusive = 1; in CRYPTO_THREAD_write_lock()512 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_unlock() local514 if (rwlock->exclusive) { in CRYPTO_THREAD_unlock()[all …]
Completed in 10 milliseconds