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

Function worker_wait_to_start

dpdk/app/test/test_timer.c:240–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240static void
241worker_wait_to_start(void)
242{
243 unsigned lcore_id = rte_lcore_id();
244
245 rte_wait_until_equal_16(&lcore_state[lcore_id], WORKER_RUN_SIGNAL, __ATOMIC_ACQUIRE);
246 __atomic_store_n(&lcore_state[lcore_id], WORKER_RUNNING, __ATOMIC_RELEASE);
247}
248
249static void
250worker_finish(void)

Callers 1

timer_stress2_main_loopFunction · 0.85

Calls 2

rte_lcore_idFunction · 0.85
rte_wait_until_equal_16Function · 0.50

Tested by

no test coverage detected