[Chicago-talk] fork and talk to the parent

Steven Lembark lembark at wrkhors.com
Fri Dec 5 09:29:50 CST 2003

-- Jay Strauss <me at heyjay.com>

> Ok, I guess I was too unspecific
> the parent will be in an infinite loop.  The forked child will be sitting
> (also in a infinite loop) listening on a socket.  When the child gets a
> message from the socket, based on the message, it may need to send that
> data to the parent.

Why not thread it? You can exchange info by assigning it
to shared variables.

Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508

More information about the Chicago-talk mailing list