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

Function main_start_workers

dpdk/app/test/test_timer.c:217–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static void
218main_start_workers(void)
219{
220 unsigned i;
221
222 RTE_LCORE_FOREACH_WORKER(i) {
223 __atomic_store_n(&lcore_state[i], WORKER_RUN_SIGNAL, __ATOMIC_RELEASE);
224 }
225 RTE_LCORE_FOREACH_WORKER(i) {
226 rte_wait_until_equal_16(&lcore_state[i], WORKER_RUNNING, __ATOMIC_ACQUIRE);
227 }
228}
229
230static void
231main_wait_for_workers(void)

Callers 1

timer_stress2_main_loopFunction · 0.85

Calls 1

rte_wait_until_equal_16Function · 0.50

Tested by

no test coverage detected