diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-07-08 15:27:38 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-09-29 14:26:22 +0300 |
commit | ac385fc340767f9467b4c39a5c1484c059ee2d52 (patch) | |
tree | 54dbeb1ad9968fd7964379cedcd82e7ace4b92d9 /test/validation/api/thread | |
parent | 8cad199fc460c4a764081fb48f6f5d6461070fea (diff) |
test: cunit: add option to create threads in sync mode
Add new sync argument to odp_cunit_thread_create(), which can be used
to create threads in synchronized mode.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'test/validation/api/thread')
-rw-r--r-- | test/validation/api/thread/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/validation/api/thread/thread.c b/test/validation/api/thread/thread.c index f279dd16f..28ca1371d 100644 --- a/test/validation/api/thread/thread.c +++ b/test/validation/api/thread/thread.c @@ -137,7 +137,7 @@ static void thread_test_odp_thrmask_worker(void) CU_ASSERT(ret == 0); /* start the test thread(s) */ - ret = odp_cunit_thread_create(num, thread_func, NULL, 0); + ret = odp_cunit_thread_create(num, thread_func, NULL, 0, 0); CU_ASSERT(ret == num); if (ret != num) |