Re: If pipe excellent?



On Fri, 22 Dec 2006 06:46:28 +0800, Ronald wrote:

Does it has an excellent design?
Is it effective at speed and memory?
Is what and for what?
Is it a hack, or an excellent design originally? or both?
Is what? ANd what are you going to use it for?
itself
I used to heard it is a great invention.

You still have answered the question you've been asked multiple
times: what is "it"? What are you asking about?

It's `pipe'.

Ronald,

I think that your problem is that you haven't realised why the helpful
folks on here are asking these questions.

You are being asked what you want to do with the pipe because it is one
of several ways of communicating data between processes. Different methods
still exist because each has it's advantages, depending on the way you
want to use it.

As an example, shared memory would be a better way of communicating larger
amounts of data between processes: both shared memory and pipes are good,
just good at different things.

Hope this helps,
John McCallum

.



Relevant Pages

  • Re: Pthread fd and memory leak
    ... and closes the socket file descriptor. ... When you send an fd over a pipe, the fd is still open in the sending ... memory at the pointer value and free it without errors, ...
    (comp.programming.threads)
  • Re: using pipe
    ... to another?Yes, pipe can be used as Inter-Process Communication between ... related processes. ... file system).Going through the file system (and I guess what you were looking for ... Why not use memory, obtained by e.g. ...
    (comp.unix.programmer)
  • Re: Your Greatest ASP Memory
    ... memory from ASP, but many many memories. ... few pipe shows I am able to attend (it looks like DC no longer hosts a pipe ... Because of ASP, I no longer smoke only Borkum ...
    (alt.smokers.pipes)
  • Re: Syslets, Threadlets, generic AIO support, v6
    ... * For lack of a better implementation, implement vmsplice() to userspace ... In both cases the output is a pipe, ... Splicing from user memory is a simple operation ... unsigned long nr_segs, unsigned int flags) ...
    (Linux-Kernel)
  • Re: How to reinvent grep in perl?
    ... that you want to grep into it, and pipe its output into grep. ... Now I could do this with pipes and 3 different instances of perl ... So am I concerned about memory problems? ... string (that becomes a 3MB string after I prepend the file name and ...
    (perl.beginners)