On Sun, Jul 18, 2004 at 12:04:34PM -0500, Josh Close wrote:
> I'm having a problem in python doing a fork, getting data, then
> returning it. I'm using a pipe to send the data back, but if a couple
> processes send the data at the same time, then more than one set of
> data will be returned at the same time.

I don't know python, but it must have semaphores or mutexes. It sounds like
that's what you need. Have each child wait on a mutex before writing,
then release it when done.


-Steve



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list