Re: [C++-sig] X-language polymorphism and multithreading

2010-07-06 Thread Hans Meine
On Saturday 03 July 2010 03:03:53 Anton Yabchinskiy wrote: > So, I need PyGILState_Ensure/PyGILState_Release around the > overridden method call, and PyEval_InitThreads in the module > initialization. Am I right? Is the following code OK? The code looks OK to me at least, but what's your problem?

[C++-sig] Cannot build Boost.Python

2010-07-06 Thread David Aldrich
Hi I am new to Boost.Python and am trying to build its library using Visual C++ 2008 on Windows XP. I have downloaded and unzipped boost_1_43_0.zip and I have installed boost-jam-3.1.18-1-ntx86.zip. Next, I executed: C:\boost_1_43_0\libs\python\example\quickstart>\boost-jam-3.1.18-1-ntx86\bja

Re: [C++-sig] X-language polymorphism and multithreading

2010-07-06 Thread Anton Yabchinskiy
On 2010-07-03 05:03:53+0400, Anton Yabchinskiy wrote: > So, I need PyGILState_Ensure/PyGILState_Release around the > overridden method call, and PyEval_InitThreads in the module > initialization. Am I right? Is the following code OK? With the GIL stuff code runs nicely now. It used to hang in the