commit | de50fc1a87447b5e9c2b5dc3c074c72af5e57b1f | [log] [tgz] |
---|---|---|
author | André Goddard Rosa <andre.goddard@gmail.com> | Thu Jun 10 15:25:33 2010 -0300 |
committer | André Goddard Rosa <andre.goddard@gmail.com> | Thu Jun 10 15:25:33 2010 -0300 |
tree | 7d7cb35bfc701136efa2a99100a376fb7d337c50 | |
parent | f2df6bb982c8e0f84b2aabdfa9843fa992b9e5e4 [diff] |
AndroidConfig: define HAVE_PTHREAD_SETNAME_NP It indicates if the underlying libc provides pthread_setname_np(). Change-Id: Ifef7730970033e834daf2fa710919722d64673e1 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index 26547a2..dcac2d4 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h
@@ -42,6 +42,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 67ac277..f8bd083 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.h
@@ -42,6 +42,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 d89d054..93eaeb4 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h
@@ -28,6 +28,11 @@ #define HAVE_PTHREADS /* + * Do we have pthread_setname_np()? + */ +#define HAVE_PTHREAD_SETNAME_NP + +/* * Do we have the futex syscall? */