summaryrefslogtreecommitdiff
path: root/src/atomic_ops
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2013-02-13 01:13:10 +0400
committerIvan Maidanski <ivmai@mail.ru>2013-02-13 01:13:10 +0400
commitb647f3827a250a0592f22bb6b0c08b342f297a5a (patch)
tree893837a0dbca07a7d6c85b737560fec4579f5773 /src/atomic_ops
parent64410803b698536fb0a3f714e3d1e582fb3d7630 (diff)
downloadlibatomic_ops-b647f3827a250a0592f22bb6b0c08b342f297a5a.tar.gz
TODO file: move item about sync-base primitives to aarch64.h and generic.h
Diffstat (limited to 'src/atomic_ops')
-rw-r--r--src/atomic_ops/sysdeps/gcc/aarch64.h2
-rw-r--r--src/atomic_ops/sysdeps/gcc/generic.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/aarch64.h b/src/atomic_ops/sysdeps/gcc/aarch64.h
index 8e62210..7ff0db8 100644
--- a/src/atomic_ops/sysdeps/gcc/aarch64.h
+++ b/src/atomic_ops/sysdeps/gcc/aarch64.h
@@ -15,6 +15,8 @@
*
*/
+/* TODO: Remove this file, directly include headers from atomic_ops.h */
+
#include "../test_and_set_t_is_ao_t.h"
#include "../standard_ao_double_t.h"
diff --git a/src/atomic_ops/sysdeps/gcc/generic.h b/src/atomic_ops/sysdeps/gcc/generic.h
index 18a586d..27d9309 100644
--- a/src/atomic_ops/sysdeps/gcc/generic.h
+++ b/src/atomic_ops/sysdeps/gcc/generic.h
@@ -19,6 +19,8 @@
/* For the details, see GNU Manual, chapter 6.52 (Built-in functions */
/* for memory model aware atomic operations). */
+/* TODO: Include this file for other targets if gcc 4.7+ */
+
#ifdef AO_UNIPROCESSOR
/* If only a single processor (core) is used, AO_UNIPROCESSOR could */
/* be defined by the client to avoid unnecessary memory barrier. */