Displaying 1 result from an estimated 1 matches for "semaphore_key".
1998 Apr 01
0
[Fwd: Semaphore problem on HP-UX ?]
...tunately it made no
difference. :-(.
I added some debugging code and looked what happened :
--------------------------------------------------------------------
DEBUG(4,("Trying sysv shmem open of size %d\n", shm_size));
/* first the semaphore */
sem_id = semget(SEMAPHORE_KEY, 0, 0);
if (sem_id == -1) {
if (read_only) return NULL;
hash_size = SHMEM_HASH_SIZE;
DEBUG(4,("semaphore : initial hash-size = %d \n",
hash_size));
while (hash_size > 1) {...