From b0e3f733759a006622b14f75c5379641ef82776f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 14 Jan 2019 14:21:51 +0100 Subject: Start refactoring the windowing system to use an event loop. Userspace programs can now open /dev/gui_events and read a stream of GUI_Event structs one at a time. I was stuck on a stupid problem where we'd reenter Scheduler::yield() due to having one of the has_data_available_for_reading() implementations using locks. --- Kernel/Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Console.cpp') diff --git a/Kernel/Console.cpp b/Kernel/Console.cpp index 30fc4cd2fb..fb8734d860 100644 --- a/Kernel/Console.cpp +++ b/Kernel/Console.cpp @@ -23,7 +23,7 @@ Console::~Console() { } -bool Console::has_data_available_for_reading() const +bool Console::has_data_available_for_reading(Process&) const { return false; } -- cgit v1.2.3