aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-10-27 11:52:55 -0700
committerSan Mehat <san@google.com>2009-10-27 12:27:42 -0700
commitc0dfca7ae1f6016461235552091c2cacacca82a2 (patch)
treed8f0d2ae9319650616c95261268739e5d3cb319d /include
parent21ec779abe2df0c2e9e170a40c8cf7c2f2eb4ac9 (diff)
downloadsystem_core-c0dfca7ae1f6016461235552091c2cacacca82a2.tar.gz
system_core-c0dfca7ae1f6016461235552091c2cacacca82a2.tar.bz2
system_core-c0dfca7ae1f6016461235552091c2cacacca82a2.zip
cutils: Add support for reading a processes scheduler policy
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/cutils/sched_policy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cutils/sched_policy.h b/include/cutils/sched_policy.h
index efa7cbc5..eaf39939 100644
--- a/include/cutils/sched_policy.h
+++ b/include/cutils/sched_policy.h
@@ -27,6 +27,7 @@ typedef enum {
} SchedPolicy;
extern int set_sched_policy(int tid, SchedPolicy policy);
+extern int get_sched_policy(int tid, SchedPolicy *policy);
#ifdef __cplusplus
}