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

Function store_load_barrier

dpdk/app/test/test_barrier.c:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72static inline void
73store_load_barrier(uint32_t utype)
74{
75 if (utype == USE_MB)
76 rte_mb();
77 else if (utype == USE_SMP_MB)
78 rte_smp_mb();
79 else
80 RTE_VERIFY(0);
81}
82
83/*
84 * Peterson lock implementation.

Callers 1

plock_lockFunction · 0.85

Calls 1

rte_smp_mbFunction · 0.85

Tested by

no test coverage detected