summaryrefslogtreecommitdiffstats
path: root/vm/Thread.h
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-09-14 15:38:36 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-09-14 15:38:36 -0700
commit49f9187825d898e1b696449a0162fa8a616e0ba0 (patch)
tree3bc7a9153736be5443834d9857d698832f818fc7 /vm/Thread.h
parent3c9692c5fa8b5232ceeafe0a3067c8bdbbf2f77a (diff)
parentda03242fe03a5ab342a6310b1e754e131ea628c9 (diff)
downloadandroid_dalvik-49f9187825d898e1b696449a0162fa8a616e0ba0.tar.gz
android_dalvik-49f9187825d898e1b696449a0162fa8a616e0ba0.tar.bz2
android_dalvik-49f9187825d898e1b696449a0162fa8a616e0ba0.zip
am da03242f: Merge change 24840 into eclair
Merge commit 'da03242fe03a5ab342a6310b1e754e131ea628c9' into eclair-plus-aosp * commit 'da03242fe03a5ab342a6310b1e754e131ea628c9': 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);