[IPython-user] Multithreading shell simplified, testing needed

Ville M. Vainio vivainio@gmail....
Wed Mar 12 14:14:38 CDT 2008


On Wed, Mar 12, 2008 at 9:01 PM, Fernando Perez <fperez.net@gmail.com> wrote:

>  A question: will this fallback mechanism activate if a GUI operation
>  takes longer than the timeout (say 5 secs)?  With something like a
>  complex matplotlib plot that uses a lot of LaTeX on an NFS filesystem,
>  long plot times are not unheard of.  In such cases, I wonder if we

No, it will not activate. The timeout is between dispatching the
command to queue, and the time when it gets popped from queue. The
wait between popping and the end of execution is infinite.

The only time this would be a problem is when the user manages to
screw up the mainloop somehow.

Also, if the GUI mainloop ever becomes responsive again, we will
switch back to threaded mode (though this is not told to the user).
It's quite a robust system, really.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list