home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:3862 comp.unix.programmer:4590 comp.unix.internals:1782
- Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!smurf.sub.org!news
- From: urlichs@smurf.sub.org (Matthias Urlichs)
- Newsgroups: comp.unix.wizards,comp.unix.programmer,comp.unix.internals
- Subject: Re: Implementation of Sys V. based message queues
- Date: 9 Sep 1992 15:55:41 +0200
- Organization: University of Karlsruhe, FRG
- Lines: 30
- Message-ID: <18kvotINN7le@smurf.smurf.sub.org>
- References: <acourtny.715558246@unix1.tcd.ie> <1992Sep3.232807.18181@noao.edu> <1992Sep8.171014.21414@dickens.com>
- NNTP-Posting-Host: 127.0.0.1
-
- In comp.unix.wizards, article <1992Sep8.171014.21414@dickens.com>,
- lpc@dickens.com (Luis P Caamano) writes:
- > In article <1992Sep3.232807.18181@noao.edu> rstevens@noao.edu (W. Richard Stevens) writes:
- > >
- > >Believe it or not, I just found out that AIX on the RS/6000 actually
- > >provides a function named select() with a different interface that
- > >actually lets you multiplex both descriptors and message queues.
- > >When I saw their interface I almost barfed.
- >
- > Why? Is the implementation so awful? I remember I almost barfed too but
- > just because it was a new, strange select() that wasn't what I was used
- > to see.
- >
- It's awful because it's nonstandard. The Right Thing to do is to make open
- message queues behave like standard Unix file descriptors, including read()/
- /write()/select(), not to invent another totally nonstandard function and
- naming it in the way that will confuse people the most. :-/
-
- > At least they did something ...
-
- Does anybody use message queues anyway? For something that can't be done
- just as easily with named pipes or Unix-domain sockets?
-
- --
- Real computer scientists only write specs for languages that might run
- on future hardware. Nobody trusts them to write specs for anything homo
- sapiens will ever be able to fit on a single planet.
- --
- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
- Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
-