In article <74bec1d9-2109-4b9e-8e4d-541894a4d...@f41g2000pra.googlegroups.com>,
grbgooglefan  <ganeshbo...@gmail.com> wrote:
>
>I have C application in which I have instantiated Python interpreter
>in each worker thread.
>
>When I start the program it crashes at different places in Python code
>but program never finishes normally.
>
>Can you please help me in following queries?
>1) Can we not use Python interpreters per thread instead of having a
>common shared Python interpreter at global level/ scope?

Theoretically you can, but each Python interpreter shares some objects
with others, so you still need to use the Python GIL.
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to