From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f37007e903458d32 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-13 22:38:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!npeer.kpnqwest.net!EUnet.yu!Mercury.ev.co.yu!not-for-mail From: "Nikola Milutinovic" Newsgroups: comp.unix.tru64 Subject: Re: Inter process communication Date: Tue, 14 May 2002 07:20:57 +0200 Organization: EPS Elektrovojvodina Message-ID: References: <3cdf7e4f$1@news.post.ch> NNTP-Posting-Host: brigitte.ev.co.yu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.unix.tru64:7645 "Jakob Erber" 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.