aboutsummaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-07 20:30:38 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-07 20:30:38 +0100
commit64a71038a21f42874175ab210a64bf6bbc6dd6f5 (patch)
tree67728a5370c74dc4cb4245db2ed2f930a7907c40 /kernel/include
parent42e92e7e9ab971acd6a1a55e38c0f4e999c1293c (diff)
downloadkogata-64a71038a21f42874175ab210a64bf6bbc6dd6f5.tar.gz
kogata-64a71038a21f42874175ab210a64bf6bbc6dd6f5.zip
Tweaks in code presentation.
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/task.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/include/task.h b/kernel/include/task.h
index 2c3f6ef..b7dc02f 100644
--- a/kernel/include/task.h
+++ b/kernel/include/task.h
@@ -36,11 +36,12 @@ typedef void (*entry_t)(void*);
void tasking_setup(entry_t cont, void* data); // never returns
task_t *new_task(entry_t entry); // task is PAUSED, and must be resume_with_result'ed
-extern task_t *current_task;
+extern task_t *current_task;
void yield();
void* wait_for_result();
+
void resume_with_result(task_t *task, void* data, bool run_at_once);
/* vim: set ts=4 sw=4 tw=0 noet :*/