diff options
author | Christian Cunningham <cc@localhost> | 2022-03-16 11:11:42 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-16 11:11:42 -0700 |
commit | 4cf9e1ac0f0f6133baf4e8136e600ea51aaab65d (patch) | |
tree | 2dfebefde72ae894d3ac509011777399c84e9628 /include | |
parent | 3ddd2534e3c09979135f42abd06d2b27ed3c5d16 (diff) |
Return if add is successful
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/schedule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h index eb9d251..3015e98 100644 --- a/include/sys/schedule.h +++ b/include/sys/schedule.h @@ -53,7 +53,7 @@ struct Scheduler { }; void init_scheduler(void); -void add_thread(void* pc, void* arg, unsigned char priority); +unsigned char add_thread(void* pc, void* arg, unsigned char priority); void uart_scheduler(void); struct Thread* next_thread(void); extern void schedule(void); |