diff options
Diffstat (limited to 'libc/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h')
-rw-r--r-- | libc/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h b/libc/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h index 9a967eaf5..a8065c6a8 100644 --- a/libc/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h +++ b/libc/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -161,3 +161,9 @@ # define NO_CANCELLATION 1 #endif + +#ifndef __ASSEMBLER__ +# define RTLD_SINGLE_THREAD_P \ + __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ + header.multiple_threads) == 0, 1) +#endif |