MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_atomic32_exchange

Function rte_atomic32_exchange

dpdk/lib/eal/ppc/include/rte_atomic.h:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static inline uint32_t
125rte_atomic32_exchange(volatile uint32_t *dst, uint32_t val)
126{
127 return __atomic_exchange_4(dst, val, rte_memory_order_seq_cst);
128}
129
130/*------------------------- 64 bit atomic operations -------------------------*/
131

Callers 1

test_atomic_exchangeFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_atomic_exchangeFunction · 0.40