summaryrefslogtreecommitdiff
path: root/os/thread.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-07-20 08:41:41 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-07-20 08:43:10 +0200
commite14b2f0d2406311a6fcdaea313584995ec8adefd (patch)
treef2cffca4fe334aeb873cce8a77bd5b6f98cc0096 /os/thread.cpp
parent657d427aa41e6e05c8c4d4b1179b42d3363e8018 (diff)
Add support for sleeping threads.scheduler_improvements
Diffstat (limited to 'os/thread.cpp')
-rw-r--r--os/thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/thread.cpp b/os/thread.cpp
index 0f2437d..432727a 100644
--- a/os/thread.cpp
+++ b/os/thread.cpp
@@ -1,5 +1,6 @@
#include "thread.h"
List<Thread> Thread::ready_queue __attribute__ ((init_priority (1000)));
+List<Thread> Thread::sleep_queue;
Thread Thread::main_thread __attribute__ ((init_priority (1001)));
Thread* Thread::active_thread = &Thread::main_thread;