Home
last modified time | relevance | path

Searched refs:rwlock (Results 1 – 1 of 1) sorted by relevance

/openssl/crypto/
H A Dthreads_win.c457 CRYPTO_win_rwlock *rwlock; in CRYPTO_THREAD_lock_new() local
462 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() local
489 AcquireSRWLockShared(&rwlock->lock); in CRYPTO_THREAD_read_lock()
499 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_write_lock() local
501 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() local
514 if (rwlock->exclusive) { in CRYPTO_THREAD_unlock()
[all …]

Completed in 5 milliseconds