public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* pthread, posix msg queues, and unix ipc
@ 2001-08-02 11:24 Phil Crescioli
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Crescioli @ 2001-08-02 11:24 UTC (permalink / raw)
  To: pthreads-win32

Hello all, 
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_open, 
mq_send, etc.. on my Linux 2.4 box.  Is this a Linux add-on I need to download off the net?

Thanks, 
Phil


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: pthread, posix msg queues, and unix ipc
@ 2001-08-02 13:00 Aurelio Medina
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelio Medina @ 2001-08-02 13:00 UTC (permalink / raw)
  To: 'Phil Crescioli', pthreads-win32

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
isn't.
3) Although not neccesarily faster, POSIX IPC tends to be more up to date
and functional. 

I don't believe Linux has POSIX MQ yet however the files I sent can
certainly work on Linux.

Aurelio

-----Original Message-----
From: Phil Crescioli [ mailto:pcrescio@dsrnet.com ]
Sent: Thursday, August 02, 2001 1:33 PM
To: pthreads-win32@sourceware.cygnus.com
Subject: pthread, posix msg queues, and unix ipc


Hello all, 
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_open, 
mq_send, etc.. on my Linux 2.4 box.  Is this a Linux add-on I need to
download off the net?

Thanks, 
Phil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-02 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-02 11:24 pthread, posix msg queues, and unix ipc Phil Crescioli
2001-08-02 13:00 Aurelio Medina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).