summaryrefslogtreecommitdiffstats
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:25 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-28 15:23:25 +0000
commitf3b285b8ba059d789c7c6629fc7e871e1d0871a5 (patch)
tree3af02ff73ecb9d6620914d0aa79ee4a52c0a8d4b /libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
parentdd8cc1a6852c177eb3d0e5811992578f79feb1e4 (diff)
downloaduClibc-alpine-f3b285b8ba059d789c7c6629fc7e871e1d0871a5.tar.bz2
uClibc-alpine-f3b285b8ba059d789c7c6629fc7e871e1d0871a5.tar.xz
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. */