From 4cf9e1ac0f0f6133baf4e8136e600ea51aaab65d Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 16 Mar 2022 11:11:42 -0700 Subject: Return if add is successful --- include/sys/schedule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys') 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); -- cgit v1.2.1