aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-25 23:59:05 -0700
committerChristian Cunningham <cc@localhost>2022-03-25 23:59:05 -0700
commit32ef93110fc993f24540bdcff6c3d88c47cd64c1 (patch)
tree0ac9b4fa0258b0f3c9f2506b5f42a19fffa0629e /include/sys
parente733d37ee2aee3a5f3850ab336d588f814bb134c (diff)
Don't schedule if you don't have to
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/schedule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 1e3b0d7..d03d39f 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -47,7 +47,7 @@ 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, unsigned long count);
+unsigned long sched_mutex_resurrect(void* m);
+unsigned long sched_semaphore_resurrect(void* s, unsigned long count);
#endif