This is used by a macro to check if python interpreter is active: #define PYC_INTERPRETER_ACTIVE (((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) != NULL)
Py 3.1 works a bit differently, you could just check if PyThreadState_GET() is not NULL, in py3.2 that aborts blender so I had to look at pythons source. On Sun, Mar 27, 2011 at 8:58 PM, Richard Shaw <hobbes1...@gmail.com> wrote: > Here's the error: > error: /builddir/build/SPECS/blender.spec:153: parseExpressionBoolean returns > -1 > /builddir/build/BUILD/blender-2.56.svn35825/source/blender/python/generic/py_capi_utils.c:61:2: > error: implicit declaration of function '_Py_atomic_load_relaxed' > > Richard > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- - Campbell _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers