Searched refs:ticket (Results 1 – 2 of 2) sorted by relevance
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_pflock.h | 157 uint16_t ticket, w; in rte_pflock_write_lock() local 162 ticket = __atomic_fetch_add(&pf->wr.in, 1, __ATOMIC_RELAXED); in rte_pflock_write_lock() 163 rte_wait_until_equal_16(&pf->wr.out, ticket, __ATOMIC_ACQUIRE); in rte_pflock_write_lock() 173 w = RTE_PFLOCK_PRES | (ticket & RTE_PFLOCK_PHID); in rte_pflock_write_lock() 174 ticket = __atomic_fetch_add(&pf->rd.in, w, __ATOMIC_RELAXED); in rte_pflock_write_lock() 177 rte_wait_until_equal_16(&pf->rd.out, ticket, __ATOMIC_ACQUIRE); in rte_pflock_write_lock()
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_21_05.rst | 24 It has two ticket pools, one for readers and one for writers.
|