Loading libcutils/sched_policy.c +8 −1 Original line number Original line Diff line number Diff line Loading @@ -22,10 +22,17 @@ #include <errno.h> #include <errno.h> #include <fcntl.h> #include <fcntl.h> #include <sched.h> #include <sched.h> #include <linux/sched.h> #include <cutils/sched_policy.h> #include <cutils/sched_policy.h> #ifndef SCHED_NORMAL #define SCHED_NORMAL 0 #endif #ifndef SCHED_BATCH #define SCHED_BATCH 3 #endif static int add_tid_to_cgroup(int tid, const char *grp_name) static int add_tid_to_cgroup(int tid, const char *grp_name) { { int fd; int fd; Loading Loading
libcutils/sched_policy.c +8 −1 Original line number Original line Diff line number Diff line Loading @@ -22,10 +22,17 @@ #include <errno.h> #include <errno.h> #include <fcntl.h> #include <fcntl.h> #include <sched.h> #include <sched.h> #include <linux/sched.h> #include <cutils/sched_policy.h> #include <cutils/sched_policy.h> #ifndef SCHED_NORMAL #define SCHED_NORMAL 0 #endif #ifndef SCHED_BATCH #define SCHED_BATCH 3 #endif static int add_tid_to_cgroup(int tid, const char *grp_name) static int add_tid_to_cgroup(int tid, const char *grp_name) { { int fd; int fd; Loading