aboutsummaryrefslogtreecommitdiff
path: root/task.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-05-24 18:03:19 -0400
committerPaul Selkirk <paul@psgd.org>2017-05-24 18:03:19 -0400
commit5ff8c9512db48d128cf07904f68eb5139bebf952 (patch)
treeafe70a1971731b4785f1e9da593ca4e8dcb29213 /task.h
parent15d74433c59ba4410cd9b5706916a27e4a43e027 (diff)
Add task_yield_maybe
Diffstat (limited to 'task.h')
-rw-r--r--task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/task.h b/task.h
index de3e275..47d62d6 100644
--- a/task.h
+++ b/task.h
@@ -55,6 +55,7 @@ extern tcb_t *task_add(char *name, funcp_t func, void *cookie, void *stack, size
extern void task_set_idle_hook(funcp_t func);
extern void task_yield(void);
+extern void task_yield_maybe(void);
extern void task_sleep(void);
extern void task_wake(tcb_t *t);