[capi-sig] Python C Api extension (multi threaded environment) Raises exception (Accesss violation error)

Stefan Behnel python_capi at behnel.de
Tue Dec 8 09:55:26 CET 2009

Jadhav, Alok, 08.12.2009 01:09:
> I am using SWIG to extend Python to C++.   But the questions I have
> consists of basic Python C API related. I hope this list will be able to
> help me. 
> I am trying to solve a simple problem which many of you must have
> encountered. I wonder what I am doing different than others that I am
> facing a problem.
> Background
> -----------
> A c++ library is wrapped in my C++ Class. This new C++ class is extended
> in Python using SWIG. I have to call a python function from C++ code (
> which is on a new thread spawned from C++ main thread).

This might help:



More information about the capi-sig mailing list