summaryrefslogtreecommitdiff
path: root/include/utils/threads.h
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2009-05-20 11:28:04 -0700
committer Jean-Baptiste Queru <jbq@google.com> 2009-05-20 11:28:04 -0700
commit9660d304ae51a69509e5506e1fc80178025dee7c (patch)
tree2db88e9f1a42bf5dfbbe01580a6e8071666179e9 /include/utils/threads.h
parent490b2ba510c0857605f4913f0fdd1c47a1d93647 (diff)
donut snapshot
Diffstat (limited to 'include/utils/threads.h')
-rw-r--r--include/utils/threads.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/utils/threads.h b/include/utils/threads.h
index 8d8d46a054..b3209156bc 100644
--- a/include/utils/threads.h
+++ b/include/utils/threads.h
@@ -79,6 +79,13 @@ enum {
ANDROID_PRIORITY_LESS_FAVORABLE = +1,
};
+enum {
+ ANDROID_TGROUP_DEFAULT = 0,
+ ANDROID_TGROUP_BG_NONINTERACT = 1,
+ ANDROID_TGROUP_FG_BOOST = 2,
+ ANDROID_TGROUP_MAX = ANDROID_TGROUP_FG_BOOST,
+};
+
// Create and run a new thread.
extern int androidCreateThread(android_thread_func_t, void *);