summaryrefslogtreecommitdiffstats
path: root/vm/Thread.h
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-14 18:31:53 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-14 18:31:53 -0400
commitda03242fe03a5ab342a6310b1e754e131ea628c9 (patch)
tree79743acf6af8c58d183ee664c96f0d68b6ddaa80 /vm/Thread.h
parent2d34a33a3d14ceda01c9bddfd957c3b9d3c55aa1 (diff)
parent5a2056ca8c7e7c0ed9f51d68cedbee59cc936685 (diff)
downloadandroid_dalvik-da03242fe03a5ab342a6310b1e754e131ea628c9.tar.gz
android_dalvik-da03242fe03a5ab342a6310b1e754e131ea628c9.tar.bz2
android_dalvik-da03242fe03a5ab342a6310b1e754e131ea628c9.zip
Merge change 24840 into eclair
* changes: dalvik: Switch to common cutils sched_policy api
Diffstat (limited to 'vm/Thread.h')
-rw-r--r--vm/Thread.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/vm/Thread.h b/vm/Thread.h
index a829319ec..1bb531409 100644
--- a/vm/Thread.h
+++ b/vm/Thread.h
@@ -22,8 +22,6 @@
#include "jni.h"
-#include <utils/threads.h> /* Need SchedPolicy */
-
#if defined(CHECK_MUTEX) && !defined(__USE_UNIX98)
/* glibc lacks this unless you #define __USE_UNIX98 */
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);
@@ -421,13 +419,6 @@ INLINE JNIEnv* dvmGetThreadJNIEnv(Thread* self) { return self->jniEnv; }
INLINE void dvmSetThreadJNIEnv(Thread* self, JNIEnv* env) { self->jniEnv = env;}
/*
- * Change the scheduling policy of the current process.
- * This is mapped onto whatever underlying scheme the kernel
- * supports (cgroups/scheduler policies/wombats/etc)
- */
-void dvmChangeThreadSchedulerPolicy(SchedPolicy policy);
-
-/*
* Update the priority value of the underlying pthread.
*/
void dvmChangeThreadPriority(Thread* thread, int newPriority);