diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cpu/atomic/swap.h | 1 | ||||
-rw-r--r-- | include/sys/schedule.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/cpu/atomic/swap.h b/include/cpu/atomic/swap.h index 57a5add..87cf382 100644 --- a/include/cpu/atomic/swap.h +++ b/include/cpu/atomic/swap.h @@ -8,7 +8,6 @@ /// https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/3_Processes.html /// https://developer.arm.com/documentation/dht0008/a/arm-synchronization-primitives/practical-uses/implementing-a-semaphore?lang=en -// TODO: Once scheduling works, have a failed lock put thread in waiting state static inline void atm_lock(unsigned long pid, unsigned long* addr) { unsigned long tmp, current_lock_value; diff --git a/include/sys/schedule.h b/include/sys/schedule.h index 33d19dd..12c8fec 100644 --- a/include/sys/schedule.h +++ b/include/sys/schedule.h @@ -1,7 +1,7 @@ #ifndef SYS_SCHEDULE_H #define SYS_SCHEDULE_H -#define TQUEUE_MAX 0x100 +#define TQUEUE_MAX 0x800 #define STACK_SIZE 0x4000 #define TQUEUE_CNT 3 #define PRIORITIES 8 |