summaryrefslogtreecommitdiffstats
path: root/vm/Thread.h
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-09-16 18:19:52 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-09-16 18:19:52 -0700
commit8425511af0595c079b4b0d37630bd38f4af07a48 (patch)
tree42989d2128ad1a2762b2c2d957ab11d4ba98bf9b /vm/Thread.h
parentaf8ce5a11c2dce126fa8d2e54b2ce1fc2120dbce (diff)
parent49f9187825d898e1b696449a0162fa8a616e0ba0 (diff)
downloadandroid_dalvik-8425511af0595c079b4b0d37630bd38f4af07a48.tar.gz
android_dalvik-8425511af0595c079b4b0d37630bd38f4af07a48.tar.bz2
android_dalvik-8425511af0595c079b4b0d37630bd38f4af07a48.zip
am 49f91878: am da03242f: Merge change 24840 into eclair
Merge commit '49f9187825d898e1b696449a0162fa8a616e0ba0' * commit '49f9187825d898e1b696449a0162fa8a616e0ba0': 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 e12088dfe..179a920c2 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);
@@ -426,13 +424,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);