On Sat, Oct 24, 2015 at 3:35 AM, Israel Brewster <isr...@ravnalaska.net> wrote:
>
> Ideally, this recalculation process would happen in the background. There is
> no need for the user to wait around while the system crunches numbers - they
> should be able to move on with entering another log or whatever else they
> need to do. To that end, I implemented the call to the recalc function using
> the multiprocessing module, so it could start in the background and the main
> process move on.

One way to get around this would be to separate the processes
completely, and simply alert the other process (maybe via a socket) to
ask it to do the recalculation. That way, the background process would
never have any of the main process's sockets, and can't affect them in
any way.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to