Process intercommunication
Mikael Olofsson
mikael at isy.liu.se
Mon Nov 5 05:06:12 EST 2001
Hi all!
Here is what I want to do, in short: I want two processes to be able
communicate with each other. Naturally, these processes are supposed
to be executed Python code. And we are on Solaris.
More precisely:
Process A is supposed to be running all the time, while process B will
only live for a short period of time. Both processes are supposed to
live on the same machine. After collecting some data, B needs to
communicate that data to A and A is supposed to acknowledge to B that
the received data is OK. B is therefore supposed to identify A, and set
up a two-way communication link to A (with A's help, I suppose). After
the necessary comunication has taken place, the communication link is
supposed to be shut down, and B will soon die. B is only supposed to
know under what name A is running.
Later, A is supposed to be able to repeat the whole thing with a new B.
There may be more than one process (but probably not more than ten)
knocking on A's door, and A is supposed to deal with them one by one.
I feel that I am in quick sand here. I haven't got the slightest idea
how to do this. Any help is welcome.
/Mikael
-----------------------------------------------------------------------
E-Mail: Mikael Olofsson <mikael at isy.liu.se>
WWW: http://www.dtr.isy.liu.se/dtr/staff/mikael
Phone: +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date: 05-Nov-2001
Time: 10:11:48
/"\
\ / ASCII Ribbon Campaign
X Against HTML Mail
/ \
This message was sent by XF-Mail.
-----------------------------------------------------------------------
Linköpings kammarkör: www.kammarkoren.com
More information about the Python-list
mailing list