Merge pull request #431 from yuriks/thread-queue-cleanup

Common: Clean up ThreadQueueList
This commit is contained in:
bunnei
2015-01-07 17:58:31 -05:00
2 changed files with 82 additions and 152 deletions

View File

@ -75,7 +75,7 @@ public:
static std::vector<Handle> thread_queue;
// Lists only ready thread ids.
static Common::ThreadQueueList<Handle> thread_ready_queue;
static Common::ThreadQueueList<Handle, THREADPRIO_LOWEST+1> thread_ready_queue;
static Handle current_thread_handle;
static Thread* current_thread;