summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-28 15:23:51 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-28 15:23:51 +0000
commit3bbb872db24d775c326126378821d36aefb42251 (patch)
tree17cb15764f4f0993b634bd2852ec7dc8e43dde43 /libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
parentb29289dde23b883ad17982a2fd9315cffbb3591b (diff)
Added sysdep.h and sysdep-cancel.h for linuxthreads ARM
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h')
-rw-r--r--libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h b/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
new file mode 100644
index 000000000..ba6a1e04b
--- /dev/null
+++ b/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
@@ -0,0 +1,8 @@
+#include <sysdep.h>
+
+/* No multi-thread handling enabled. */
+#define SINGLE_THREAD_P (1)
+#define RTLD_SINGLE_THREAD_P (1)
+#define LIBC_CANCEL_ASYNC() 0 /* Just a dummy value. */
+#define LIBC_CANCEL_RESET(val) ((void)(val)) /* Nothing, but evaluate it. */
+#define LIBC_CANCEL_HANDLED() /* Nothing. */