Home
last modified time | relevance | path

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

/haiku/src/tests/system/libroot/posix/
H A Dxsi_sem_test1.cpp25 #define NUM_OF_SEMS 10 macro
50 int semID = semget(IPC_PRIVATE, NUM_OF_SEMS, S_IRUSR | S_IWUSR); in test_semget()
60 semID = semget(KEY, NUM_OF_SEMS, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_semget()
81 semID = semget(KEY, NUM_OF_SEMS, IPC_EXCL | S_IRUSR | S_IWUSR in test_semget()
108 struct sembuf array[NUM_OF_SEMS]; in test_semop2()
109 for (int i = 0; i < NUM_OF_SEMS; i++) { in test_semop2()
114 semop(returnedID, array, NUM_OF_SEMS); in test_semop2()
118 for (int i = 0; i < NUM_OF_SEMS; i++) { in test_semop2()
123 semop(returnedID, array, NUM_OF_SEMS); in test_semop2()
150 for (int i = 0; i < NUM_OF_SEMS; i++) { in test_semop2()
[all …]