summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:02:20 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:02:20 +0200
commit0b65b09f15783b067343f7a2dcf67ae1f1e27dc7 (patch)
tree6aae73353ac5c8fc45c9d8c6095dc27fd15053d3 /proc.h
parent4722d3bac43062a9213a08ed2435b8ef9b426789 (diff)
proc: move out process specific management functions
Move them out of xutils, so that we can maintain them separately. Also simplify things a bit. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/proc.h b/proc.h
new file mode 100644
index 0000000..0a31f36
--- /dev/null
+++ b/proc.h
@@ -0,0 +1,8 @@
+#ifndef PROC_H
+#define PROC_H
+
+extern void cpu_affinity(int cpu);
+extern int set_proc_prio(int prio);
+extern int set_sched_status(int policy, int priority);
+
+#endif /* PROC_H */