Discussion:
[lng-odp] [Linaro/odp] e9e6dc: api: sched: add wait and no_wait schedule function...
GitHub
2018-11-12 09:48:59 UTC
Permalink
Branch: refs/heads/api-next
Home: https://github.com/Linaro/odp
Commit: e9e6dcaa53b16b4a081bc87ad971accd45180d8d
https://github.com/Linaro/odp/commit/e9e6dcaa53b16b4a081bc87ad971accd45180d8d
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-12 (Mon, 12 Nov 2018)

Changed paths:
M include/odp/api/spec/schedule.h

Log Message:
-----------
api: sched: add wait and no_wait schedule functions

Schedule call is one of the most used ODP API calls. Introduce
versions without the wait parameter as wait / no_wait are the
most used wait options. Implementation saves a number of
if-conditions per schedule call.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 7263734ca83fc439d7b491149cf07fa3f569b539
https://github.com/Linaro/odp/commit/7263734ca83fc439d7b491149cf07fa3f569b539
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-12 (Mon, 12 Nov 2018)

Changed paths:
M platform/linux-generic/include/odp_schedule_if.h
M platform/linux-generic/odp_schedule_basic.c
M platform/linux-generic/odp_schedule_if.c
M platform/linux-generic/odp_schedule_scalable.c
M platform/linux-generic/odp_schedule_sp.c

Log Message:
-----------
linux-gen: sched: implement wait and no_wait functions

Implemented the new odp_schedule_multi_wait() and _no_wait()
functions.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: c73aaee1959377064cecccb6158b225de3f13db5
https://github.com/Linaro/odp/commit/c73aaee1959377064cecccb6158b225de3f13db5
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-12 (Mon, 12 Nov 2018)

Changed paths:
M test/validation/api/scheduler/scheduler.c

Log Message:
-----------
validation: sched: add test case for wait and no_wait

Added a test case for the new odp_schedule_multi_wait() and
_no_wait() functions.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Compare: https://github.com/Linaro/odp/compare/33e0abebe03e...c73aaee19593
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

Functionality will be removed from GitHub.com on January 31st, 2019.
Loading...