diff mbox

test: synchronizers: add missing thread_finalize() call

Message ID 1421263949-28618-1-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit ff3468707e842b8e0551b281d690531f0ce3a6d1
Headers show

Commit Message

Bill Fischofer Jan. 14, 2015, 7:32 p.m. UTC
Fix for Bug 1067

Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 test/validation/odp_synchronizers.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mike Holmes Jan. 20, 2015, 5:17 p.m. UTC | #1
Subject could be more local to the change with test -> validation maybe it
can be changed at commit time to save a V2

Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org>



On 14 January 2015 at 14:32, Bill Fischofer <bill.fischofer@linaro.org>
wrote:

> Fix for Bug 1067
>
> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
> ---
>  test/validation/odp_synchronizers.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/test/validation/odp_synchronizers.c
> b/test/validation/odp_synchronizers.c
> index ef18499..3361835 100644
> --- a/test/validation/odp_synchronizers.c
> +++ b/test/validation/odp_synchronizers.c
> @@ -343,6 +343,8 @@ static void *ticketlock_api_tests(void *arg UNUSED)
>         ticketlock_api_test(&local_ticket_lock);
>         ticketlock_api_test(&per_thread_mem->per_thread_ticketlock);
>
> +       thread_finalize(per_thread_mem);
> +
>         return NULL;
>  }
>
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/test/validation/odp_synchronizers.c b/test/validation/odp_synchronizers.c
index ef18499..3361835 100644
--- a/test/validation/odp_synchronizers.c
+++ b/test/validation/odp_synchronizers.c
@@ -343,6 +343,8 @@  static void *ticketlock_api_tests(void *arg UNUSED)
 	ticketlock_api_test(&local_ticket_lock);
 	ticketlock_api_test(&per_thread_mem->per_thread_ticketlock);
 
+	thread_finalize(per_thread_mem);
+
 	return NULL;
 }