Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu>
Subject: Re: Inter process communication
Date: Tue, 14 May 2002 07:20:57 +0200	[thread overview]
Message-ID: <abq7s0$d52$1@Mercury.ev.co.yu> (raw)
In-Reply-To: 3cdf7e4f$1@news.post.ch

"Jakob Erber" <erberj@yahoo.de> wrote in message
news:3cdf7e4f$1@news.post.ch...
> Hello,
>
> which would be the mechanism of choice to perform the following task:
>
> IPC between 2 processes on the same node, whereby
> - block and noblocking read/write operations should be supported
> - security is not an issue
> - access must be thread safe (one com channel per thread)
> - nice to have: resources are freed, if both com partners go away
> - commication must be fast
>
> What sould be used here?
> - sockets
> - Message Queue services (msg*)
> - named pipes
> - pipes

All of above are per-process not per-thread. What does "one com channel per
thread" mean? Suppose one process has m threads and the other n threads.
You'd like m*n com channels? How would you identify the thread you want to
talk to?

I think there is a conceptual problem here.

If you are in multithreading domain, I'd opt sor sockets, since they can
easily be expanded to network, too.

Nix.




  reply	other threads:[~2002-05-14  5:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13  8:50 Inter process communication Jakob Erber
2002-05-14  5:20 ` Nikola Milutinovic [this message]
2002-05-14  6:21   ` Jakob Erber
2002-05-16  5:31     ` Nikola Milutinovic
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox