diff options
author | Christian Cunningham <cc@localhost> | 2022-03-16 15:53:48 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-16 15:53:48 -0700 |
commit | 4d9e61b01339866bb00cefb59e13826a05a6be0e (patch) | |
tree | f529aafd57f19a6a7d40fbdd7f8613f8b2696cfa /include | |
parent | 18b205cc3498e81136107b383618f92df5ef1380 (diff) |
Add method to not allow duplicates
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/schedule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h index a6e03a9..33d19dd 100644 --- a/include/sys/schedule.h +++ b/include/sys/schedule.h @@ -54,6 +54,7 @@ struct Scheduler { }; void init_scheduler(void); +unsigned char add_thread_without_duplicate(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); |