I have found a problem with this patch (sorry Mike). The
odp_timer_test example needs some more changes for the removal of
odp_schedule_one() not to potentially hang the program. I have
outlined this in a mail to Mike, hopefully he can provide an updated
patch.

On 19 December 2014 at 21:34, Mike Holmes <[email protected]> wrote:
> Signed-off-by: Mike Holmes <[email protected]>
> ---
>  example/timer/odp_timer_test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
> index 0d6e31a..6d2609a 100644
> --- a/example/timer/odp_timer_test.c
> +++ b/example/timer/odp_timer_test.c
> @@ -84,7 +84,7 @@ static void test_abs_timeouts(int thr, test_args_t *args)
>         while (1) {
>                 odp_timeout_t tmo;
>
> -               buf = odp_schedule_one(&queue, ODP_SCHED_WAIT);
> +               buf = odp_schedule(&queue, ODP_SCHED_WAIT);
>
>                 tmo  = odp_timeout_from_buffer(buf);
>                 tick = odp_timeout_tick(tmo);
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to