commit | 493dad966305a7fb555addd367532dd2af275a27 | [log] [tgz] |
---|---|---|
author | San Mehat <san@google.com> | Sat Sep 12 10:06:57 2009 -0700 |
committer | San Mehat <san@google.com> | Sat Sep 12 10:48:03 2009 -0700 |
tree | c3433e8485914a7a9263536ddd5e6c5486ff8038 | |
parent | 25f1a5aaffd1ef6e87d53d4fd3c14ea1b6c5b940 [diff] [blame] |
libcutils: Add abstracted support for setting scheduler policies Also changes the background policy to use SCHED_BATCH. IDLEPRIO can cause 100% starvation. Signed-off-by: San Mehat <san@google.com>
diff --git a/libcutils/Android.mk b/libcutils/Android.mk index 087d652..1d1e576 100644 --- a/libcutils/Android.mk +++ b/libcutils/Android.mk
@@ -36,7 +36,8 @@ record_stream.c \ process_name.c \ properties.c \ - threads.c + threads.c \ + sched_policy.c commonHostSources := \ ashmem-host.c