From owner-freebsd-hackers Fri Nov 30 21:29:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 885) id 4BA9537B405; Fri, 30 Nov 2001 21:29:10 -0800 (PST) Date: Fri, 30 Nov 2001 21:29:10 -0800 From: Eric Melville To: David Miller Cc: freebsd-hackers@freebsd.org Subject: Re: [OT] alarm() question Message-ID: <20011130212910.A32476@FreeBSD.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from dmiller@sparks.net on Fri, Nov 30, 2001 at 02:53:24PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Why does the alarm go off but not interrupt the system call? bzzt() is > executed, but the program doesn't print Done and exit for a minute plus. > > Pointers to FM to RT welcome. The system call is being interrupted, it just gets restarted right away by default. See Steven's "UNIX Network Programming" for a means of avoiding this behavior. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message