Displaying 1 result from an estimated 1 matches for "semaphore_perms".
1998 Apr 01
0
[Fwd: Semaphore problem on HP-UX ?]
...e = SHMEM_HASH_SIZE;
DEBUG(4,("semaphore : initial hash-size = %d \n",
hash_size));
while (hash_size > 1) {
sem_id = semget(SEMAPHORE_KEY, hash_size+1,
IPC_CREAT|IPC_EXCL|SEMAPHORE_PERMS);
DEBUG(4,("semaphore : %s - hash-size = %d \n",
strerror(errno),hash_size));
DEBUG(4,("semaphore : sem_id = %d \n",
sem_id));
if (sem_id != -1 ||...