Re: [C++-sig] [patch] Make boost python accessible by multiplethreads

2010-07-21 Thread Niall Douglas
On 19 Jul 2010 at 9:40, Matthew Scouten (TT) wrote: > I agree that automatic GIL Management should not go main line unless it > is done right. > > I would like some facilities for manual GIL management though. > > I have a RAII object for taking the GIL around a virtual function, and > another

[C++-sig] Need help with simple boost embedded python program

2010-07-21 Thread Kiramin (Subscriptions)
I can't seem to get this to work: This little program just embeds python, creates a module using boost, and attempts to add it to the list of built-in modules. //--- #include using namespace boost::python; char const* greet() { return "hello