diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-12-04 13:53:19 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-12-13 12:30:19 +0300 |
commit | 3f66d3fedee47dfd22ecd2ec1d4bd6083e17475e (patch) | |
tree | f42ceb3c89662ad9b9ea61f3954cb394b8e447b5 | |
parent | ac56bfe0914da970062c4665971906e30227dcec (diff) |
Port b2be0e368 "linux-gen: sched: implement wait and no_wait functions"
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r-- | platform/linux-dpdk/odp_schedule_if.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/linux-dpdk/odp_schedule_if.c b/platform/linux-dpdk/odp_schedule_if.c index f402a9faa..3b6d13ba5 100644 --- a/platform/linux-dpdk/odp_schedule_if.c +++ b/platform/linux-dpdk/odp_schedule_if.c @@ -38,6 +38,16 @@ int odp_schedule_multi(odp_queue_t *from, uint64_t wait, odp_event_t events[], return sched_api->schedule_multi(from, wait, events, num); } +int odp_schedule_multi_wait(odp_queue_t *from, odp_event_t events[], int num) +{ + return sched_api->schedule_multi_wait(from, events, num); +} + +int odp_schedule_multi_no_wait(odp_queue_t *from, odp_event_t events[], int num) +{ + return sched_api->schedule_multi_no_wait(from, events, num); +} + void odp_schedule_pause(void) { return sched_api->schedule_pause(); |