commit | 6e86915e8f5dfffa60ae5d1a4ca9aa74912fd026 | [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 | dce5492d9051eba6da4619544f7aee6feee62c5a | |
parent | 11bbe200cba150cfa5593bb87b54f3072a5ab2c5 [diff] | |
parent | b5e3165129a5871cf679a67d9e9323ffad3d4902 [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) {