From 97b30e2f6239a3ca2b9489ce09320aaf317f9fc8 Mon Sep 17 00:00:00 2001 From: Evan Millar Date: Fri, 6 Nov 2009 11:25:23 -0800 Subject: Revert jparks code from IPCThreadState. --- libs/binder/IPCThreadState.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libs/binder/IPCThreadState.cpp') diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index d474571bebc7..e04b2bfab858 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -424,11 +424,6 @@ void IPCThreadState::joinThreadPool(bool isMain) result = executeCommand(cmd); - - // Make sure that after executing the command that we put the thread back into the - // default cgroup. This is just a failsafe incase the thread's priority or cgroup was - // not properly restored. - set_sched_policy(getpid(), SP_FOREGROUND); } // Let this thread exit the thread pool if it is no longer -- cgit v1.2.3-59-g8ed1b