aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-17 20:20:13 -0700
committerChristian Cunningham <cc@localhost>2022-03-17 20:20:13 -0700
commitfa64046e54f5af3d482d2dbcb2dcbff3458a952a (patch)
tree870a5e958603ea76ab488c25a99fa8f031f99390 /include/sys
parentc7f1e83a4273403a7974cc412934b7d73ad3297d (diff)
Implemented semaphore
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/schedule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 12c8fec..d0d938c 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -62,6 +62,8 @@ extern void schedule(void);
extern void cleanup(void);
void yield(void);
void sched_mutex_yield(void* m);
+void sched_semaphore_yield(void* s);
void sched_mutex_resurrect(void* m);
+void sched_semaphore_resurrect(void* s);
#endif