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.c343 uint32_t reader_idx; member
389 qp_idx = ATOMIC_LOAD_N(uint32_t, &lock->reader_idx, __ATOMIC_ACQUIRE); in get_hold_current_qp()
402 if (qp_idx == ATOMIC_LOAD_N(uint32_t, &lock->reader_idx, in get_hold_current_qp()
552 ATOMIC_STORE_N(uint32_t, &lock->reader_idx, lock->current_alloc_idx, in update_qp()

Completed in 7 milliseconds