[issue31654] ctypes should support atomic operations

Antoine Pitrou report at bugs.python.org
Sun Oct 1 14:14:36 EDT 2017


Antoine Pitrou <pitrou at free.fr> added the comment:

Note that if there is already a C API to perform atomic ops, you can simply use ctypes to invoke that API.  Unfortunately, the aforementioned GCC builtins seem to be only available as intrinsics (at least I couldn't find a shared library that exposes the __atomic_* functions on my system).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31654>
_______________________________________


More information about the Python-bugs-list mailing list