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

Function reader_stop

dpdk/app/test/test_seqlock.c:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115static void
116reader_stop(struct reader *reader)
117{
118 __atomic_store_n(&reader->stop, 1, __ATOMIC_RELAXED);
119}
120
121#define NUM_WRITERS 2 /* main lcore + one worker */
122#define MIN_NUM_READERS 2

Callers 1

test_seqlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected