Test the PENDING status of the timer handle tim */
| 644 | |
| 645 | /* Test the PENDING status of the timer handle tim */ |
| 646 | int |
| 647 | rte_timer_pending(struct rte_timer *tim) |
| 648 | { |
| 649 | return rte_atomic_load_explicit(&tim->status.state, |
| 650 | rte_memory_order_relaxed) == RTE_TIMER_PENDING; |
| 651 | } |
| 652 | |
| 653 | /* must be called periodically, run all timer that expired */ |
| 654 | static void |
no outgoing calls