Re: [C++-sig] multithreading and interpreters

2009-11-24 Thread Matthew Scouten (TT)
2009 8:58 AM To: Development of Python/C++ integration Subject: Re: [C++-sig] multithreading and interpreters Multiple threads is do-able, but you have to manage the GIL manually. Multiple interpreters is more difficult. I think that it has been done before by someone who massively BP, but I have

Re: [C++-sig] multithreading and interpreters

2009-11-24 Thread Matthew Scouten (TT)
@python.org [mailto:cplusplus-sig-bounces+matthew.scouten=tradingtechnologies@py thon.org] On Behalf Of Trigve Siver Sent: Sunday, November 22, 2009 10:56 AM To: cplusplus-sig@python.org Subject: [C++-sig] multithreading and interpreters Hi, I'm working on project where we used boost.p

[C++-sig] multithreading and interpreters

2009-11-22 Thread Trigve Siver
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. So