Searched refs:lock_value (Results 1 – 4 of 4) sorted by relevance
102 int lock_value = 1; in main() local118 if (-1 == sem_init(&buf.lock, shared, lock_value)) { in main()
144 int lock_value = 1; in main() local163 if (-1 == sem_init(&lock, shared, lock_value)) { in main()
123 int lock_value = 1; in main() local137 if (-1 == sem_init(&lock, shared, lock_value)) { in main()
151 int lock_value = 1; in main() local188 if (-1 == sem_init(&buf->lock, shared, lock_value)) { in main()