[IPython-dev] Macros don't work in threaded shells
Ville M. Vainio
vivainio at gmail.com
Mon Mar 10 16:40:59 EDT 2008
On Mon, Mar 10, 2008 at 9:48 PM, Ville M. Vainio <vivainio at gmail.com> wrote:
> I'm not totally lost on this - I can just raise a flag when we are
> about the *really* execute the code, to signal that we are now in
> thread that should be executing the code.
I now have a quite straightforward fix for this (that should not break
anything at least):
http://bazaar.launchpad.net/~ipython/ipython/stable-dev/revision/48
Please try it out, you multithreading parts of the IPython society
:-). Try running _ip.runlines("1+1") on your preferred threading
solution.
However, with these alterations, I think the condition variable and
'got_lock' is an unnecessary complication... but this code is too
brittle to play around too much, perhaps.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev
mailing list