gui: remove useless checks for input_thread_t.b_dead and b_eof
The input thread sends events. There is no point in checking manually since the input thread functions aresafe to "use" so long as the caller has a reference to the input thread (regardless of the input thread being dead or at EOF). Also the value of those flags can change asynchronously (outside the input thread) so the checks were racy.
Showing
Please register or sign in to comment