Re: POSIX shared memory question



On Jan 7, 1:43 pm, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:
The idea behind this is to use mmap to map the object into the address
space of the process supposed to use it (possibly after having
ftruncated it to the desired size), cf

       http://www.opengroup.org/onlinepubs/9699919799/functions/shm_open.html

But I don't see how that helps me as a developer using the API. I
might as well just stick to using pipes, fifo or sockets if I want a
file descriptor interface to talk to other processes.

B2003
.



Relevant Pages

  • Re: Threading and Timeouts
    ... In case of sync i/o writeis forced to wait untill all ... In case on sockets write, which are equivalent to send, we have also the ... With pipes, ... O_NOBLOCK has a special semantic for pipes and FIFO. ...
    (comp.programming.threads)
  • Re: POSIX shared memory question
    ... might as well just stick to using pipes, fifo or sockets if I want a ... file descriptor interface to talk to other processes. ... example on the page the URI refers to. ...
    (comp.unix.programmer)
  • poor network loopback performance and scalability (was: Re: [RFC,PATCH] loopback: calls netif_receiv
    ... Socket bandwidth using localhost: 2607.09 MB/sec ... Set your loopback MTU to some larger value if this result and the ... pipes are still another ~25% faster: ... generic and therefore use IP sockets for everything. ...
    (Linux-Kernel)
  • Re: Using COM for interprocess communication?
    ... the best replacement for a socket is not RPC ... I suggest you use pipes instead. ... These are much closer to sockets ... I have a client/server application which I want to ...
    (microsoft.public.win32.programmer.ole)
  • Re: About Process Communication Implementation in Windows.
    ... DDE, window messages, the clipboard, ... WM_COPYDATA, DDE, pipes and the Clipboard ist AFAIK implemented by ... But sockets are a different technology. ...
    (microsoft.public.win32.programmer.kernel)