diff options
author | Glenn Kasten <gkasten@google.com> | 2012-03-16 07:15:23 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-04-19 11:32:59 -0700 |
commit | a26e1cfbbcb7dc5e0b1cd79a815362d6a048ef26 (patch) | |
tree | d7fa5a89b2e0f6f1334b8a9b693add9ee78f9537 /include/utils/ThreadDefs.h | |
parent | 56a2bbe70876c1ac4e18b3740722c01d69bca2fd (diff) | |
download | frameworks_native-a26e1cfbbcb7dc5e0b1cd79a815362d6a048ef26.zip frameworks_native-a26e1cfbbcb7dc5e0b1cd79a815362d6a048ef26.tar.gz frameworks_native-a26e1cfbbcb7dc5e0b1cd79a815362d6a048ef26.tar.bz2 |
Scheduling group cleanup
Remove C++ APIs androidSetThreadSchedulingGroup and
androidGetThreadSchedulingGroup, and the ANDROID_TGROUP_* constants.
Former callers of these should now use the C APIs set_sched_policy and
get_sched_policy, and the SP_* constants.
Note: debug.sys.noschedgroups is not supported by the C APIs,
this needs to be discussed.
Change-Id: I32bbfc539ef4090faf9ef0320380e8cca9eae07c
Diffstat (limited to 'include/utils/ThreadDefs.h')
-rw-r--r-- | include/utils/ThreadDefs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/utils/ThreadDefs.h b/include/utils/ThreadDefs.h index 3e56373..a8f8eb3 100644 --- a/include/utils/ThreadDefs.h +++ b/include/utils/ThreadDefs.h @@ -79,13 +79,6 @@ 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, -}; - #ifdef __cplusplus } // extern "C" #endif |