Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6dfe8f1f authored by Evan Millar's avatar Evan Millar
Browse files

Revert jparks code from IPCThreadState.

parent 1ef5d473
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -424,11 +424,6 @@ void IPCThreadState::joinThreadPool(bool isMain)




            result = executeCommand(cmd);
            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
        // Let this thread exit the thread pool if it is no longer