Message238279
> For third-party code, pyatomic.h is only needed by PyThreadState_GET() in pystate.h. Maybe we should hide completly pyatomic.h. Currently, pyatomic.h is not really used if Py_LIMITED_API is defined.
pystate_cplusplus.patch: disable completly pyatomic.h on C++, and modify pystate.h: PyThreadState_GET() is just an alias to PyThreadState_Get() with compiled with C++.
IMO pystate_cplusplus.patch makes more sense.
I don't understand the purpose of atomicfix.patch or pyatomic_cpp.patch, PyThreadState_GET() will not work with these patches. |
|
Date |
User |
Action |
Args |
2015-03-17 11:24:16 | vstinner | set | recipients:
+ vstinner, Arfrever, jrincayc, python-dev, Joshua.J.Cogliati, Vitor.de.Lima, gustavotemple, lbianc |
2015-03-17 11:24:16 | vstinner | set | messageid: <1426591456.43.0.985957441894.issue23644@psf.upfronthosting.co.za> |
2015-03-17 11:24:16 | vstinner | link | issue23644 messages |
2015-03-17 11:24:16 | vstinner | create | |
|