aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-22 23:50:57 -0700
committerChristian Cunningham <cc@localhost>2022-03-22 23:50:57 -0700
commitf6ff28ad8eb5e88a1985706bfc94657704e9c3f4 (patch)
treee5b586401106b0230176ec02e70e18637d77547e /include
parente2794c37e90f963773ae2f4c0f782db922488b4f (diff)
Make arbitrary amounts of priorities
Without affecting maximum static thread count
Diffstat (limited to 'include')
-rw-r--r--include/sys/schedule.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index cfb4813..1e3b0d7 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -2,10 +2,10 @@
#define SYS_SCHEDULE_H
#include <lib/queue.h>
-#define TQUEUE_MAX 0x400
+#define TQUEUE_MAX 0x2000
#define STACK_SIZE 0x4000
-#define PRIORITIES 8
-#define MAX_THREADS TQUEUE_MAX*PRIORITIES
+#define PRIORITIES 20
+#define MAX_THREADS TQUEUE_MAX
enum ThreadStatus {
THREAD_READY = 0,