test/performance/odp_scheduling.c
static void clear_sched_queues(void)
{
	odp_event_t ev;

	while (1) {
		ev = odp_schedule(NULL, ODP_SCHED_NO_WAIT);

		if (ev == ODP_EVENT_INVALID)
			break;

		odp_event_free(ev);
	}
}
/**
 * @internal Clear all scheduled queues. Retry to be sure that all
 * buffers have been scheduled.
 */
@internal Clear all scheduled queues. Retry to be sure that all
buffers have been scheduled.
@internal Clear all scheduled queues . Retry to be sure that all buffers have been scheduled .
static void clear_sched_queues(void)
{
	odp_event_t ev;
	while (1) {
		ev = odp_schedule(NULL, ODP_SCHED_NO_WAIT);
		if (ev == ODP_EVENT_INVALID)
			break;
		odp_event_free(ev);
	}
}
static void clear_sched_queues ( void ) { odp_event_t ev ; while ( 1 ) { ev = odp_schedule ( NULL , ODP_SCHED_NO_WAIT ) ; if ( ev == ODP_EVENT_INVALID ) break ; odp_event_free ( ev ) ; } }
@internal Clear all scheduled queues.
@internal Clear all scheduled queues .