diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cutils/sched_policy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cutils/sched_policy.h b/include/cutils/sched_policy.h index ba84ce3..6a8d570 100644 --- a/include/cutils/sched_policy.h +++ b/include/cutils/sched_policy.h @@ -34,6 +34,8 @@ typedef enum { SP_SYSTEM_DEFAULT = SP_FOREGROUND, } SchedPolicy; +extern int set_cpuset_policy(int tid, SchedPolicy policy); + /* Assign thread tid to the cgroup associated with the specified policy. * If the thread is a thread group leader, that is it's gettid() == getpid(), * then the other threads in the same thread group are _not_ affected. |