This patch fixes a compilation error below:
CC: le_tc/kernel/tc_pthread.c
le_tc/kernel/tc_pthread.c: In function 'tc_pthread_pthread_take_give_semaphore':
le_tc/kernel/tc_pthread.c:898:12: error: too few arguments to function 'pthread_takesemaphore'
ret_chk = pthread_takesemaphore(&sem);
Change-Id: Id713905644352a00f84f17e7b16e07f22d2f44bb
Signed-off-by: EunBong Song <eunb.song@samsung.com>
sem_t sem;
sem_init(&sem, 0, VAL_THREE);
- ret_chk = pthread_takesemaphore(&sem);
+ ret_chk = pthread_takesemaphore(&sem, false);
TC_ASSERT_EQ("pthread_takesemaphore", ret_chk, OK);
sem_getvalue(&sem, &get_value);