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

Function rte_atomic32_clear

dpdk/lib/eal/include/generic/rte_atomic.h:730–733  ·  view source on GitHub ↗

* Atomically set a 32-bit counter to 0. * * @param v * A pointer to the atomic counter. */

Source from the content-addressed store, hash-verified

728 * A pointer to the atomic counter.
729 */
730static inline void rte_atomic32_clear(rte_atomic32_t *v)
731{
732 v->cnt = 0;
733}
734
735/*------------------------- 64 bit atomic operations -------------------------*/
736

Callers 1

test_atomicFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_atomicFunction · 0.68