reduce number of context switches

This commit is contained in:
folkert van heusden 2022-06-11 08:31:06 +02:00
parent b39beacc40
commit c85f6cbf7e

View file

@ -210,7 +210,7 @@ void console::operator()()
set_thread_name("kek::console"); set_thread_name("kek::console");
while(*stop_event != EVENT_TERMINATE && !stop_thread_flag) { 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) if (c == -1)
continue; continue;