pub fn stop_stdin_reader()Expand description
Initiate stopping the background stdin reader thread.
Sets the running flag and drops sender/receiver.
The thread will exit on the next event::read() that completes after
the flag is cleared. Call join_stdin_reader() to wait for exit.