commit | dd5572047a3b9e75e836e4af8963e87727f5f420 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Tue Sep 07 14:10:38 2010 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 07 14:10:38 2010 -0700 |
tree | b1da86105c6e2506ae3fb31ce106bb270f2bd660 | |
parent | bb39b9f17b0a9b6ecf2087b8454730ba6ac8b876 [diff] | |
parent | bd89ff87d21461700f0e8ae37ba11c9a4070113f [diff] |
Merge "Fixes to battery stats debug output." into gingerbread
diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp index c8de1f5..e5ece8e 100644 --- a/libs/utils/Threads.cpp +++ b/libs/utils/Threads.cpp
@@ -281,6 +281,7 @@ #endif } +#if defined(HAVE_PTHREADS) static pthread_once_t gDoSchedulingGroupOnce = PTHREAD_ONCE_INIT; static bool gDoSchedulingGroup = true; @@ -294,6 +295,7 @@ } } } +#endif int androidSetThreadSchedulingGroup(pid_t tid, int grp) {