From e14b2f0d2406311a6fcdaea313584995ec8adefd Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 20 Jul 2013 08:41:41 +0200 Subject: Add support for sleeping threads. --- os/thread.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'os/thread.cpp') 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::ready_queue __attribute__ ((init_priority (1000))); +List Thread::sleep_queue; Thread Thread::main_thread __attribute__ ((init_priority (1001))); Thread* Thread::active_thread = &Thread::main_thread; -- cgit v1.2.3