Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 21:29:10 -0800
From:      Eric Melville <eric@FreeBSD.org>
To:        David Miller <dmiller@sparks.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [OT] alarm() question
Message-ID:  <20011130212910.A32476@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0111301452350.27497-100000@search.sparks.net>; from dmiller@sparks.net on Fri, Nov 30, 2001 at 02:53:24PM -0500
References:  <Pine.BSF.4.21.0111301452350.27497-100000@search.sparks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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