util/chpty.cc
/// Change the read timeout parameter (seconds+microseconds).
/// Conservatively suppose that a context switch is 10 usec
/// so not much point setting this value to less than 20 usec.
/// * will NOT throw
///
Change the read timeout parameter (seconds+microseconds).
Conservatively suppose that a context switch is 10 usec
so not much point setting this value to less than 20 usec.
will NOT throw
Change the read timeout parameter ( seconds + microseconds ) . Conservatively suppose that a context switch is 10 usec so not much point setting this value to less than 20 usec . will NOT throw
void Pty_controller::set_read_timeout( long secs, long usecs )
{
    if ((secs >= 0) and (usecs >= 0)) {
        m_rtimeout.tv_sec = secs;
        m_rtimeout.tv_usec = usecs;
    }
}
void Pty_controller :: set_read_timeout ( long secs , long usecs ) { if ( ( secs >= 0 ) and ( usecs >= 0 ) ) { m_rtimeout . tv_sec = secs ; m_rtimeout . tv_usec = usecs ; } }
Change the read timeout parameter (seconds+microseconds).
Change the read timeout parameter ( seconds + microseconds ) .