A parent and child can communicate through any of the normal
inter-process communication schemes (pipes, sockets, message queues,
shared memory), but also have some special ways to communicate that take
advantage of their relationship as a parent and child.
One of the most obvious is that the parent can get the exit status of
the child through waitpid() call.
inter-process communication schemes (pipes, sockets, message queues,
shared memory), but also have some special ways to communicate that take
advantage of their relationship as a parent and child.
One of the most obvious is that the parent can get the exit status of
the child through waitpid() call.
No comments:
Post a Comment