[IPython-user] Multithreading shell simplified, testing needed

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


On Wed, Mar 12, 2008 at 7:17 PM, Ville M. Vainio <vivainio@gmail.com> wrote:

>  Here's an idea on how to fix this: we add another event that tells
>  that the message was "received" (popped from queue), and wait for THAT
>  with a timeout. If the message is not received within, say, 5 seconds,
>  we declare the mainloop dead and switch to direct execution code with
>  a warning to the user.

The idea is now implemented in mtexp branch. Please do bzr pull and try stuff.

Even when the UI toolkit mainloop gives up (as it does with gtk), we
won't just hang now - the user can continue normally, but everything
will be as if he was in a single-threaded shell (so the work can go
on).

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


More information about the IPython-user mailing list