Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 12:42:07 -0700
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern tty.c
Message-ID:  <20000430124207.A42756@freebsd.org>
In-Reply-To: <20000430120621.A22259@freebsd.org>; from ache@freebsd.org on Sun, Apr 30, 2000 at 12:06:21PM -0700
References:  <200004301600.JAA18945@freefall.freebsd.org> <Pine.BSF.4.21.0005010354410.2953-100000@alphplex.bde.org> <20000430112344.A13987@freebsd.org> <20000430120621.A22259@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 30, 2000 at 12:06:21PM -0700, Andrey A. Chernov wrote:
> Probably we can initialize t_timeout not to 0 but to -1 in upper layer,
> then use in ttyopen something like this:
> 
> 	if (tp->t_timeout < 0)
> 		tp->t_timeout = drainwait * hz;

I.e. set
	t_timeout = -1;
in two places:

1) ttymalloc()
2) ptyinit()

-- 
Andrey A. Chernov
<ache@nagual.pp.ru>
http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000430124207.A42756>