From owner-freebsd-current Tue Mar 11 08:18:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA15916 for current-outgoing; Tue, 11 Mar 1997 08:18:11 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA15894 for ; Tue, 11 Mar 1997 08:18:03 -0800 (PST) Received: by sovcom.kiae.su id AA29163 (5.65.kiae-1 ); Tue, 11 Mar 1997 18:42:30 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Tue, 11 Mar 97 18:42:30 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id SAA01018; Tue, 11 Mar 1997 18:42:02 +0300 (MSK) Date: Tue, 11 Mar 1997 18:41:59 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Bruce Evans Cc: brian@awfulhak.demon.co.uk, brian@utell.co.uk, current@freebsd.org Subject: Re: ppp In-Reply-To: <199703111513.CAA17912@godzilla.zeta.org.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Mar 1997, Bruce Evans wrote: > All systems. The kernel doesn't count signals, so if ppp isn't run for > more than 1.2 seconds then it will miss some alarms. However, this probably > isn't important since it will miss much more than alarms :-). There may be > problems with closer-spaced alarms if ppp wants to count them. The big difference here is pended (delayed) and not pended signals handling. PPP code was written in assumptions that SIGALRM reaction is not delayed, so if we trust developer, he choose timeout + handler action in the way that signals not missed. If we delay signals reaction with pending, we increase probaility for signals missing and must count them to be shure. -- Andrey A. Chernov http://www.nagual.ru/~ache/