Home
last modified time | relevance | path

Searched refs:sem_post (Results 1 – 25 of 126) sorted by relevance

123456

/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
Dsem_sleepingbarber.c39 sem_post(&print); \
65 if (-1 == sem_post(&lock)) { in barbers()
82 if (-1 == sem_post(&lock)) { in barbers()
86 if (-1 == sem_post(&barber)) { in barbers()
110 if (-1 == sem_post(&customer)) { in customers()
117 if (-1 == sem_post(&lock)) { in customers()
130 if (-1 == sem_post(&lock)) { in customers()
Dsem_conpro.c56 if (-1 == sem_post(&buf->lock)) { in producer()
60 if (-1 == sem_post(&buf->empty)) { in producer()
85 if (-1 == sem_post(&buf->lock)) { in consumer()
89 if (-1 == sem_post(&buf->occupied)) { in consumer()
Dsem_readerwriter.c63 if (-1 == sem_post(&r_lock)) { in reader()
75 if (-1 == sem_post(&w_lock)) { in reader()
80 if (-1 == sem_post(&r_lock)) { in reader()
100 if (-1 == sem_post(&w_lock)) { in writer()
Dsem_philosopher.c63 sem_post(&ph[ID]); in test()
84 if (-1 == sem_post(&lock)) { in philosopher()
109 if (-1 == sem_post(&lock)) { in philosopher()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c213 sem_post(sem); in main()
218 sem_post(sem); in main()
223 sem_post(sem); in main()
239 sem_post(sem); in main()
246 sem_post(sem); in main()
247 sem_post(sem); in main()
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/
Dmulti_con_pro.c67 if (-1 == sem_post(&buf->lock)) { in producer()
71 if (-1 == sem_post(&buf->empty)) { in producer()
94 if (-1 == sem_post(&buf->lock)) { in producer()
98 if (-1 == sem_post(&buf->empty)) { in producer()
126 if (-1 == sem_post(&buf->lock)) { in consumer()
130 if (-1 == sem_post(&buf->full)) { in consumer()
/external/ltp/testcases/kernel/sched/eas/
Dsched_prio_3_fifo.c143 sem_post(&sem_high_b); in rt_high_fn_a()
162 sem_post(&sem_high_a); in rt_med_fn_b()
179 sem_post(&sem_med_b); in rt_med_fn_a()
198 sem_post(&sem_med_a); in rt_low_fn_b()
231 sem_post(&sem_low_b); in rt_low_fn_a()
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
Ds-c1.c186 ret = sem_post(sem_ending); in main()
201 ret = sem_post(sem_synchro); in main()
222 ret = sem_post(sem_ending); in main()
258 sem_post(sem_ending); in main()
276 sem_post(sem_ending); in main()
316 ret = sem_post(sem_ending); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
D3-1.c128 if ((sem_post(&semsig1))) { in sighdl1()
137 if ((sem_post(&semsig2))) { in sighdl2()
166 if ((sem_post(&semsync2))) { in threaded()
357 if ((sem_post(&semsync))) { in main()
D4-1.c106 if ((ret = sem_post(&sem))) { in threaded()
118 if ((ret = sem_post(&sem))) { in threaded()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D3-2.c125 if ((ret = sem_post(&semA))) { in deadlk_issue()
151 if ((ret = sem_post(&semA))) { in unlock_issue()
244 if ((ret = sem_post(&semB))) { in main()
D1-2.c119 if ((ret = sem_post(&semA))) { in deadlk_issue()
145 if ((ret = sem_post(&semA))) { in unlock_issue()
251 if ((ret = sem_post(&semB))) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
D3-1.c75 sem_post(&csem); in producer()
86 sem_post(&psem); in consumer()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/
D3-1.c75 sem_post(&csem); in producer()
86 sem_post(&psem); in consumer()
/external/libvpx/libvpx/vp8/common/
Dthreading.h97 #define sem_post(sem) ReleaseSemaphore(*sem, 1, NULL) macro
142 static inline int sem_post(sem_t *sem) {
172 #define sem_post(sem) semaphore_signal(*sem)
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dchild.h104 ret = sem_post(&sync->sem_child); in prod_child()
132 ret = sem_post(&sync->sem_parent); in prod_parent()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D14-1.c89 ret = sem_post(sem_linked); in main()
98 ret = sem_post(sem_unlinked); in main()
/external/compiler-rt/test/tsan/
Dsignal_recursive.cc43 if (sem_post(&g_thread_suspend_ack_sem) != 0) in SuspendHandler()
51 if (sem_post(&g_thread_suspend_ack_sem) != 0) in SuspendHandler()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
D4-3.c122 if (sem_post(&semsig1)) in sighdl1()
142 ret = sem_post(&scenarii[sc].sem); in threaded()
268 if (sem_post(&semsig1)) in do_child()
D2-2.c118 ret = sem_post(&(scenarii[sc].sem)); in threaded()
205 ret = sem_post(&sem_sync); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D2-2.c117 ret = sem_post(sem); in common()
201 ret = sem_post(sem); in main()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages03.c97 if (sem_post(&sem[SEM_CHILD_SETUP]) == -1) in child()
178 if (sem_post(&sem[SEM_PARENT_TEST]) == -1) in main()
Dmove_pages11.c98 if (sem_post(&sem[SEM_CHILD_SETUP]) == -1) in child()
178 if (sem_post(&sem[SEM_PARENT_TEST]) == -1) in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-3.c118 ret = sem_post(&(data.semA)); in clnp2()
173 ret = sem_post(&(data.semA)); in threaded()
411 ret = sem_post(&(data.semB)); in main()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c37 sem_post(&cpi->h_event_end_lpf); in thread_loopfilter()
309 sem_post(&cpi->h_event_end_encoding[ithread]); in thread_encoding_proc()
584 sem_post(&cpi->h_event_start_encoding[ithread]); in vp8cx_create_encoder_threads()
585 sem_post(&cpi->h_event_end_encoding[ithread]); in vp8cx_create_encoder_threads()
615 sem_post(&cpi->h_event_start_encoding[i]); in vp8cx_remove_encoder_threads()
616 sem_post(&cpi->h_event_end_encoding[i]); in vp8cx_remove_encoder_threads()
624 sem_post(&cpi->h_event_start_lpf); in vp8cx_remove_encoder_threads()

123456