[Chicago] multiprocessing

Carl Karsten carl at personnelware.com
Thu Aug 8 17:07:30 CEST 2013


This sounds like a problem I had that a friend fixed, and I never
really bothered to look at what he did, it just worked so I merged his
code.

https://github.com/CarlFK/dvsmon/blob/master/dvs-mon.py

Feel free to ask questions about it, cuz maybe someone else can answer ;)

On Thu, Aug 8, 2013 at 9:18 AM, Oren Livne <livne at uchicago.edu> wrote:
> Dear All,
>
> - If I spawn a multiprocessed python program and need to kill it in the
> middle of the run, how can I get rid of all the child python processes it
> spawns? They don't die when I kill the manager process. To
> - If I print (with a lock) from within a process' function to stdout and
> flush stdout, I still don't see the printout until after the run completes.
> How can I see process printouts in real time?
>
> Thanks
> Oren
>
> --
> A person is just about as big as the things that make him angry.
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago



-- 
Carl K


More information about the Chicago mailing list