Searched refs:lcore_state (Results 1 – 1 of 1) sorted by relevance
206 static rte_atomic16_t lcore_state[RTE_MAX_LCORE]; variable214 rte_atomic16_set(&lcore_state[i], WORKER_WAITING); in main_init_workers()224 rte_atomic16_set(&lcore_state[i], WORKER_RUN_SIGNAL); in main_start_workers()227 while (rte_atomic16_read(&lcore_state[i]) != WORKER_RUNNING) in main_start_workers()238 while (rte_atomic16_read(&lcore_state[i]) != WORKER_FINISHED) in main_wait_for_workers()248 while (rte_atomic16_read(&lcore_state[lcore_id]) != WORKER_RUN_SIGNAL) in worker_wait_to_start()250 rte_atomic16_set(&lcore_state[lcore_id], WORKER_RUNNING); in worker_wait_to_start()258 rte_atomic16_set(&lcore_state[lcore_id], WORKER_FINISHED); in worker_finish()