tests: pipe: fix style

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-06-18 14:39:28 -04:00 committed by Kumar Gala
commit af416a98b0
3 changed files with 24 additions and 22 deletions

View file

@ -134,6 +134,7 @@ void test_pipe_block_put(void)
k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE,
tThread_block_put, &kpipe, NULL, NULL, tThread_block_put, &kpipe, NULL, NULL,
K_PRIO_PREEMPT(0), 0, 0); K_PRIO_PREEMPT(0), 0, 0);
k_sleep(10); k_sleep(10);
tpipe_get(&kpipe); tpipe_get(&kpipe);
k_sem_take(&end_sema, K_FOREVER); k_sem_take(&end_sema, K_FOREVER);
@ -163,6 +164,7 @@ void test_pipe_get_put(void)
k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE,
tThread_block_put, &kpipe, NULL, NULL, tThread_block_put, &kpipe, NULL, NULL,
K_PRIO_PREEMPT(0), 0, 0); K_PRIO_PREEMPT(0), 0, 0);
/*get will be executed previor to put*/ /*get will be executed previor to put*/
tpipe_get(&kpipe); tpipe_get(&kpipe);
k_sem_take(&end_sema, K_FOREVER); k_sem_take(&end_sema, K_FOREVER);