summaryrefslogtreecommitdiff
path: root/src/kernel/task/sched.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-08-10 21:28:57 +0200
committerAlexis211 <alexis211@gmail.com>2010-08-10 21:28:57 +0200
commit73db7abddad13d41e67f41431c4ad92c4f364d3c (patch)
tree0e61b117e9f8b64e4d41220ba2fe25c1d3f83da5 /src/kernel/task/sched.h
parente7f5de73e8b3fe792a17c34a6c0bb85a84b0f50e (diff)
downloadTCE-73db7abddad13d41e67f41431c4ad92c4f364d3c.tar.gz
TCE-73db7abddad13d41e67f41431c4ad92c4f364d3c.zip
Now using a simple Round Robin scheduler.
Diffstat (limited to 'src/kernel/task/sched.h')
-rw-r--r--src/kernel/task/sched.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kernel/task/sched.h b/src/kernel/task/sched.h
new file mode 100644
index 0000000..1233a44
--- /dev/null
+++ b/src/kernel/task/sched.h
@@ -0,0 +1,9 @@
+#ifndef DEF_SCHED_H
+#define DEF_SCHED_H
+
+#include "task.h"
+
+void sched_enqueue(struct thread *t);
+struct thread *sched_dequeue();
+
+#endif