Skip to main content

stop_stdin_reader

Function stop_stdin_reader 

Source
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.