--- rpl/src/semaphores.c 2011/09/20 15:45:53 1.35 +++ rpl/src/semaphores.c 2011/09/20 16:57:50 1.36 @@ -297,9 +297,8 @@ sem_init_SysV(sem_t *semaphore, int shar return(-1); } - sprintf((*semaphore).path, "%s/RPL-SIGSEMAPHORE-%d-%llX", - racine_segment, pthread_self(), - (int) getpid(), pthread_self()); + sprintf((*semaphore).path, "%s/RPL-SEMAPHORE-%d-%llX-%d", + racine_segment, (int) getpid(), pthread_self(), shared); if ((desc = open((*semaphore).path, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) == -1)