Messages in this thread | | | Date | Tue, 23 Apr 1996 17:58:13 +0200 (MET DST) | From | Jacek Zapala <> | Subject | Re: Problems in 1.3.93 |
| |
Alexey Kuznetsov wrote:
> Matti E Aarnio (mea@mea.cc.utu.FI) wrote: > > : Semaphores are a must for shared memory processes, > : where the memory has multiple writers (and readers). > : Message queues are a great way to do IPC in pretty > : clean manner. > > Shared memory processes should use shared memory semaphores, > that have nothing to do with SYSV IPC semaphores. > They do not require any additional support from kernel. > > Message queues: there exist pipes, UNIX domain sockets, > streams (not in linux). > All of them are more convenient, versatile and safe than msg queues. >
I don't know how about streams, but UNIX domain sockets and pipes are definitively less convenient for some purposes than msg queues. Pipes has lower capacity; you have no way to easily prioritize some of the 'messages' (of course, you can always use as many pipes as levels of priority you need, but don't say it is more CONVENIENT or EFFICIENT). So, I don't see any reason for going back in UNIX development and breaking existing applications.
> Alexey Kuznetsov.
Jacek Zapala
| |