Merge "Add a HAVE define for pthread_setname_np()." into gingerbread

This commit is contained in:
Andy McFadden 2010-07-01 09:05:51 -07:00 committed by Android (Google) Code Review
commit 57dbb2cb37
3 changed files with 24 additions and 3 deletions

View file

@ -41,10 +41,17 @@
*/ */
#define HAVE_PTHREADS #define HAVE_PTHREADS
/*
* Do we have pthread_setname_np()?
*
* (HAVE_PTHREAD_SETNAME_NP is used by WebKit to enable a function with
* the same name but different parameters, so we can't use that here.)
*/
#define HAVE_ANDROID_PTHREAD_SETNAME_NP
/* /*
* Do we have the futex syscall? * Do we have the futex syscall?
*/ */
#define HAVE_FUTEX #define HAVE_FUTEX
/* /*

View file

@ -41,10 +41,17 @@
*/ */
#define HAVE_PTHREADS #define HAVE_PTHREADS
/*
* Do we have pthread_setname_np()?
*
* (HAVE_PTHREAD_SETNAME_NP is used by WebKit to enable a function with
* the same name but different parameters, so we can't use that here.)
*/
#define HAVE_ANDROID_PTHREAD_SETNAME_NP
/* /*
* Do we have the futex syscall? * Do we have the futex syscall?
*/ */
#define HAVE_FUTEX #define HAVE_FUTEX
/* /*

View file

@ -27,10 +27,17 @@
*/ */
#define HAVE_PTHREADS #define HAVE_PTHREADS
/*
* Do we have pthread_setname_np()?
*
* (HAVE_PTHREAD_SETNAME_NP is used by WebKit to enable a function with
* the same name but different parameters, so we can't use that here.)
*/
#define HAVE_ANDROID_PTHREAD_SETNAME_NP
/* /*
* Do we have the futex syscall? * Do we have the futex syscall?
*/ */
#define HAVE_FUTEX #define HAVE_FUTEX
/* /*