lkml.org 
[lkml]   [1999]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: User vs. Kernel (was: To be smug, or not to be smug, that is , the question)
Date
Richard Gooch said ...
>
> Alan Cox writes:
> > > >> entirely from userland.
> > > > sure it was implemented - i've used it in (apparently small) project.
> > > In userland, you can't support message queues in select() like AIX can.
> > Im amazed people stil use them, they are a classic example of retrofitting
> > somethng un-needed onto unix without the people at the time thinking what
> > they were doing.
> Agreed! What the hell is wrong with a pipe/socketpair anyway? It fits
> right in there in the everything-is-a-file model. Message queues don't.

So? What's wrong with that? Shared memory isn't a file. Semaphores
aren't files? Neither are message queues and a whole slew of other
things that aren't files. They all have their uses. Not everthing has
to be a file. I've done a number of small projects where we used message
queues specifically because of the message typing attribute. What's your
problem?

--
Peter A. Castro (doctor@fruitbat.org) or (pcastro@us.oracle.com)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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