This is the mail archive of the
mailing list for the pthreas-win32 project.
RE: pthread, posix msg queues, and unix ipc
- To: 'Phil Crescioli' <pcrescio at dsrnet dot com>, pthreads-win32 at sourceware dot cygnus dot com
- Subject: RE: pthread, posix msg queues, and unix ipc
- From: Aurelio Medina <AMedina at xcaliber dot com>
- Date: Thu, 2 Aug 2001 15:00:07 -0500
The main three differences why I choose POSIX IPC libraries over System V
IPC libraries are:
1) POSIX IPC is a portable standard. Sys5 is not a portable standard.
2) POSIX IPC must be thread-safe. Sys5 doesn't have to be and probably
3) Although not neccesarily faster, POSIX IPC tends to be more up to date
I don't believe Linux has POSIX MQ yet however the files I sent can
certainly work on Linux.
From: Phil Crescioli [mailto:email@example.com]
Sent: Thursday, August 02, 2001 1:33 PM
Subject: pthread, posix msg queues, and unix ipc
I'm working on multiple platforms using pthreads and deciding on
a message transfer mechanism for each platforms internal transfers
- either posix message queues or unix IPC.
Can someone tell me the main differences between Posix Message Queues and
Unix IPC message transfers using msgget(), msgsnd(), msgrcv() ?
Also, does Linux 2.x support posix message queues ? I cant seem to find
mq_send, etc.. on my Linux 2.4 box. Is this a Linux add-on I need to
download off the net?