Home
last modified time | relevance | path

Searched refs:lock_value (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
Dsem_conpro.c102 int lock_value = 1; in main() local
118 if (-1 == sem_init(&buf.lock, shared, lock_value)) { in main()
Dsem_sleepingbarber.c144 int lock_value = 1; in main() local
163 if (-1 == sem_init(&lock, shared, lock_value)) { in main()
Dsem_philosopher.c123 int lock_value = 1; in main() local
137 if (-1 == sem_init(&lock, shared, lock_value)) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/
Dmulti_con_pro.c151 int lock_value = 1; in main() local
188 if (-1 == sem_init(&buf->lock, shared, lock_value)) { in main()