#include #include #include #include namespace hilbert::kernel::input { utility::queue *input_queue; utility::queue *waiting_for_input; void notify_waiting() { if (waiting_for_input->count > 0) application::paused_threads->insert(waiting_for_input->take()); } void init_input() { input_queue = new utility::queue(); waiting_for_input = new utility::queue(); } }