Searched refs:num_sems (Results 1 – 2 of 2) sorted by relevance
64 int num_sems = 0; /* count the semaphores created */ variable128 sem_id_arr[num_sems++] = sem_q; in setup()129 if (num_sems == MAXIDS) { in setup()146 for (i = 0; i < num_sems; i++) { in cleanup()
63 int num_sems[] = { LARGENUM, SMALLNUM }; variable83 TEST(semget(semkey, num_sems[i], in main()