From fa64046e54f5af3d482d2dbcb2dcbff3458a952a Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 17 Mar 2022 20:20:13 -0700 Subject: Implemented semaphore --- include/sys/schedule.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sys') 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 -- cgit v1.2.1