From c85f6cbf7ebe60fe83d02291acb77a0f4984b695 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 11 Jun 2022 08:31:06 +0200 Subject: [PATCH] reduce number of context switches --- console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.cpp b/console.cpp index 2e5fe72..3542b62 100644 --- a/console.cpp +++ b/console.cpp @@ -210,7 +210,7 @@ void console::operator()() set_thread_name("kek::console"); while(*stop_event != EVENT_TERMINATE && !stop_thread_flag) { - int c = wait_for_char_ll(100); + int c = wait_for_char_ll(500); if (c == -1) continue;