Android调整线程优先级
import android.os.Process;
int sched_priority = 60;
Process.setThreadGroupAndCpuset(threadID, Process.THREAD_GROUP_RT_APP);
Process.setThreadScheduler(threadID, Process.SCHED_FIFO, sched_priority);
Android调整线程优先级
import android.os.Process;
int sched_priority = 60;
Process.setThreadGroupAndCpuset(threadID, Process.THREAD_GROUP_RT_APP);
Process.setThreadScheduler(threadID, Process.SCHED_FIFO, sched_priority);