[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 
platforms.

--
components: Interpreter Core
files: atomic.patch
keywords: patch
messages: 223676
nosy: Vitor.de.Lima
priority: normal
severity: normal
status: open
title: Implement atomic operations on non-x86 platforms
type: enhancement
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file36035/atomic.patch

___
Python tracker 
<http://bugs.python.org/issue22038>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue22038>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com