07-28-04 11:19 PM
In article <pan.2004.07.27.20.24.49.31497@usc.edu>,
Tejas Arun Kokje <kokje@usc.edu> wrote:
> Hello
>
> Can some body provide a sample code which uses mmap I/O to pass messages
> from from child process to parent
You do it the same way as you would if they weren't related at all. If
two processes mmap() the same file, what one process writes to the
memory region will be seen by the other.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
[ Post a follow-up to this message ]
|