diff options
| author | San Mehat <san@google.com> | 2009-09-12 10:10:13 -0700 |
|---|---|---|
| committer | San Mehat <san@google.com> | 2009-09-12 10:48:02 -0700 |
| commit | 5a2056ca8c7e7c0ed9f51d68cedbee59cc936685 (patch) | |
| tree | 0bb1e9b96e87c3dc6421c0682fd276887e19148a /vm/Thread.h | |
| parent | efa0dcd52c030d2ace844070902979dd09e2c881 (diff) | |
| download | android_dalvik-5a2056ca8c7e7c0ed9f51d68cedbee59cc936685.tar.gz android_dalvik-5a2056ca8c7e7c0ed9f51d68cedbee59cc936685.tar.bz2 android_dalvik-5a2056ca8c7e7c0ed9f51d68cedbee59cc936685.zip | |
dalvik: Switch to common cutils sched_policy api
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'vm/Thread.h')
| -rw-r--r-- | vm/Thread.h | 9 |
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); |
