version 1.240, 2014/04/25 07:37:34
|
version 1.241, 2014/04/25 08:19:00
|
Line 110
|
Line 110
|
# include <sys/shm.h> |
# include <sys/shm.h> |
# endif |
# endif |
|
|
# ifndef __RPLCAS |
# ifndef IPCS_SYSV |
# ifndef IPCS_SYSV |
# include <semaphore.h> |
# include <semaphore.h> |
# else |
# else |
# include <sys/ipc.h> |
# include <sys/ipc.h> |
# include <sys/sem.h> |
# include <sys/sem.h> |
|
|
|
|
# ifndef __RPLCAS |
# ifdef OS2 |
# ifdef OS2 |
# define INCL_DOSSEMAPHORES |
# define INCL_DOSSEMAPHORES |
# define INCL_DOSMEMMGR |
# define INCL_DOSMEMMGR |
Line 140
|
Line 140
|
unsigned char *path; |
unsigned char *path; |
pid_t pid; |
pid_t pid; |
pthread_t tid; |
pthread_t tid; |
} sem_t; |
} sem_t; |
# endif |
# endif |
|
|
# ifndef SEM_FAILED |
# ifndef SEM_FAILED |
Line 459 union semun
|
Line 459 union semun
|
#ifndef RPLARGS |
#ifndef RPLARGS |
# ifdef SEMAPHORES_NOMMES |
# ifdef SEMAPHORES_NOMMES |
# define LONGUEUR_NOM_SEMAPHORE 64 |
# define LONGUEUR_NOM_SEMAPHORE 64 |
# endif |
|
|
|
# ifdef SEMAPHORES_NOMMES |
|
# define __PTR__ * |
# define __PTR__ * |
# else |
# else |
# define __PTR__ |
# define __PTR__ |