From de50fc1a87447b5e9c2b5dc3c074c72af5e57b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Goddard=20Rosa?= Date: Thu, 10 Jun 2010 15:25:33 -0300 Subject: [PATCH] AndroidConfig: define HAVE_PTHREAD_SETNAME_NP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It indicates if the underlying libc provides pthread_setname_np(). Change-Id: Ifef7730970033e834daf2fa710919722d64673e1 Signed-off-by: André Goddard Rosa --- include/arch/linux-arm/AndroidConfig.h | 5 +++++ include/arch/linux-sh/AndroidConfig.h | 5 +++++ include/arch/target_linux-x86/AndroidConfig.h | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index 26547a216..dcac2d4b6 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h @@ -41,6 +41,11 @@ */ #define HAVE_PTHREADS +/* + * Do we have pthread_setname_np()? + */ +#define HAVE_PTHREAD_SETNAME_NP + /* * Do we have the futex syscall? */ diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 67ac2777d..f8bd083c3 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.h @@ -41,6 +41,11 @@ */ #define HAVE_PTHREADS +/* + * Do we have pthread_setname_np()? + */ +#define HAVE_PTHREAD_SETNAME_NP + /* * Do we have the futex syscall? */ diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index d89d0547e..93eaeb491 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h @@ -27,6 +27,11 @@ */ #define HAVE_PTHREADS +/* + * Do we have pthread_setname_np()? + */ +#define HAVE_PTHREAD_SETNAME_NP + /* * Do we have the futex syscall? */