lkml.org 
[lkml]   [1996]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.128 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site