[IPython-User] IPShellEmbed and Popen
KeDal
kedals0@gmail....
Wed Oct 12 04:48:42 CDT 2011
Hi,
I use ipython in a multi-treaded application.
I expose the context :
1) I've a running thread A.
2) I launch (in the program thread) an embed ipython shell via
IPShellEmbed([""])()
3) Then, the running thread A has to launch an program with Popen, but
this thread is locked on this call.
I don't really understand GIL python mecanism then I think my problem
comes from this.
Maybe, Popen needs mainloop "slots" which is used by iptyhon embed shell
instance ?
Any ideas ?
Some (precise) pointers on GIL mecanism and how ipython use it ?
Thx in advance,
dal.
More information about the IPython-User
mailing list