[issue22038] Implement atomic operations on non-x86 platforms

2014-07-29 Thread Vitor de Lima
Vitor de Lima added the comment: Implemented a new version of the patch using either gcc builtins or the stdatomic.h header (this is detected by the configure script). -- Added file: http://bugs.python.org/file36151/atomicv2.patch ___ Python tracker

[issue22038] Implement atomic operations on non-x86 platforms

2014-07-22 Thread Vitor de Lima
New submission from Vitor de Lima: The atomic operations listed in the pyatomic.h header file were implemented only for the x86 architecture, this patch uses the atomic bultins available in GCC >= 4.7 to implement such operations, allowing it to work properly in other platfo