Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dthreads_win.c116 uint32_t reader_idx; member
224 CRYPTO_atomic_load_int((int *)&lock->reader_idx, (int *)&qp_idx, in get_hold_current_qp()
228 CRYPTO_atomic_load_int((int *)&lock->reader_idx, (int *)&tmp, in get_hold_current_qp()
368 InterlockedExchange((LONG volatile *)&lock->reader_idx, tmp); in update_qp()
H A Dthreads_pthread.c342 uint32_t reader_idx; member
388 qp_idx = ATOMIC_LOAD_N(uint32_t, &lock->reader_idx, __ATOMIC_ACQUIRE); in get_hold_current_qp()
401 if (qp_idx == ATOMIC_LOAD_N(uint32_t, &lock->reader_idx, in get_hold_current_qp()
551 ATOMIC_STORE_N(uint32_t, &lock->reader_idx, lock->current_alloc_idx, in update_qp()

Completed in 8 milliseconds