aboutsummaryrefslogtreecommitdiff
path: root/test/validation/api/shmem/shmem.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-10-28 16:14:01 +0300
committerGitHub <noreply@github.com>2022-10-28 16:14:01 +0300
commitbdfef681d7849339946bd63151fa2875d9ee801d (patch)
treeceec932bbc3f678f68ed91953dc83f3852f95df0 /test/validation/api/shmem/shmem.c
parent78066161560f2aa0ea829b1c435ab83809651162 (diff)
parent196c01565be4017e1d4d29df1912014b71adc105 (diff)
Merge ODP v1.38.0.0v1.38.0.0_DPDK_19.11
Merge ODP linux-generic v1.38.0.0 into linux-dpdk.
Diffstat (limited to 'test/validation/api/shmem/shmem.c')
-rw-r--r--test/validation/api/shmem/shmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/validation/api/shmem/shmem.c b/test/validation/api/shmem/shmem.c
index f68021310..a10e7d1d9 100644
--- a/test/validation/api/shmem/shmem.c
+++ b/test/validation/api/shmem/shmem.c
@@ -207,7 +207,7 @@ static void shmem_test_multi_thread(void)
num = MAX_WORKERS;
odp_barrier_init(&shared_test_data->test_barrier1, num);
- odp_cunit_thread_create(num, run_test_basic_thread, NULL, 0);
+ odp_cunit_thread_create(num, run_test_basic_thread, NULL, 0, 0);
CU_ASSERT(odp_cunit_thread_join(num) >= 0);
odp_shm_print(shm);
@@ -561,7 +561,7 @@ static void shmem_test_reserve_after_fork(void)
odp_barrier_init(&glob_data->test_barrier2, num + 1);
odp_atomic_store_u32(&glob_data->index, 0);
- odp_cunit_thread_create(num, run_test_reserve_after_fork, NULL, 0);
+ odp_cunit_thread_create(num, run_test_reserve_after_fork, NULL, 0, 0);
/* wait until all threads have made their shm_reserve: */
odp_barrier_wait(&glob_data->test_barrier1);
@@ -756,7 +756,7 @@ static void shmem_test_singleva_after_fork(void)
odp_barrier_init(&glob_data->test_barrier4, num + 1);
odp_atomic_store_u32(&glob_data->index, 0);
- odp_cunit_thread_create(num, run_test_singleva_after_fork, NULL, 0);
+ odp_cunit_thread_create(num, run_test_singleva_after_fork, NULL, 0, 0);
/* wait until all threads have made their shm_reserve: */
odp_barrier_wait(&glob_data->test_barrier1);
@@ -994,7 +994,7 @@ static void shmem_test_stress(void)
glob_data->stress[i].state = STRESS_FREE;
/* create threads */
- odp_cunit_thread_create(num, run_test_stress, NULL, 0);
+ odp_cunit_thread_create(num, run_test_stress, NULL, 0, 0);
/* wait for all thread endings: */
CU_ASSERT(odp_cunit_thread_join(num) >= 0);