readyqueue.hpp 231 B

12345678910111213141516
  1. #pragma once
  2. #include <list>
  3. #include <types/lock.hpp>
  4. #include <kernel/task/thread.hpp>
  5. namespace kernel::task::dispatcher {
  6. void enqueue(thread* thd);
  7. void dequeue(thread* thd);
  8. thread* next();
  9. } // namespace kernel::task