Re: HEADS UP: Win32/OS2/BeOS native ports

mlw <markw@mohawksoft.com>

From: mlw <markw@mohawksoft.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "Marc G. Fournier" <scrappy@hub.org>, pgsql-hackers@postgresql.org
Date: 2002-05-03T17:35:02Z
Lists: pgsql-hackers
sysv shm/sem

I am writing a Win32 DLL implementation of :

int     semget(key_t key, int nsems, int semflg);
int     semctl(int semid, int semnum, int cmd, union semun arg);
int     semop(int semid, struct sembuf * sops, unsigned nsops);
int     shmctl(int shmid, int cmd, struct shmid_ds *buf);
int     shmget(key_t key, int size, int shmflg);
void *  shmat(int shmid, const void *shmaddr, int shmfl);
int     shmdt(const void *shmaddr);

I will donate it do PostgreSQL.

UNIX permissions will be ignored, i.e. uig/gid will be 0
Do you see any need for the msgxxx calls?
Is the function ipc() ever used?