Hi,
I'm working on project where we used boost.python (embedded).

In general I have the "modules" where each module is something like sandbox, is
isolated from others modules and run in solo thread. I want to be able to use 
python (and boost python functions of course) from each module thread. Something
like that each thread could have own interpreter without need to take care of 
GIL and
like. Is it possible? I know there could be some problems with GIL and so. I've 
found in 
python C API docs Py_NewInterpreter() function which could be of help (or not?).

So will this configuration work? Could be there some problems with boost.python
when using multiple threads?

Thanks

Trigve



      
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to