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-09-07 18:11:01 -0400
commit2e1f88062c7ec6cd12688ce7522e802bbf09bba1 (patch)
treed8bbfeb060f5116d7cb9818f96de7204826a0302 /task.h
parent2913492229286b0578f64ce8c97ef21a9af09464 (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 24f87ce..73ff33f 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);