Skip to content

Commit

Permalink
Merge "Add a HAVE define for pthread_setname_np()." into gingerbread
Browse files Browse the repository at this point in the history
  • Loading branch information
fadden authored and Android (Google) Code Review committed Jul 1, 2010
2 parents cc4d11c + 8e9d5c9 commit 57dbb2c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion include/arch/linux-arm/AndroidConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,16 @@
#define HAVE_PTHREADS

/*
* Do we have the futex syscall?
* 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?
*/
#define HAVE_FUTEX

/*
Expand Down
9 changes: 8 additions & 1 deletion include/arch/linux-sh/AndroidConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,16 @@
#define HAVE_PTHREADS

/*
* Do we have the futex syscall?
* 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?
*/
#define HAVE_FUTEX

/*
Expand Down
9 changes: 8 additions & 1 deletion include/arch/target_linux-x86/AndroidConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@
#define HAVE_PTHREADS

/*
* Do we have the futex syscall?
* 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?
*/
#define HAVE_FUTEX

/*
Expand Down

0 comments on commit 57dbb2c

Please sign in to comment.