Date: Wed, 8 Nov 2000 20:19:07 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: lev@serebryakov.spb.ru Cc: freebsd-hackers@FreeBSD.ORG (All) Subject: Re: SIGALARM is loosing when time are shifted. Message-ID: <200011082019.NAA25082@usr08.primenet.com> In-Reply-To: <7787.001107@serebryakov.spb.ru> from "Lev Serebryakov" at Nov 07, 2000 06:53:58 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> One my program use alarm() to interrupt some blocking system calls. > I use alarm(1) (one second). Everything works Ok, except cases, when > ntpdate shift time more than 1 second forward. If time is shifted > when alarm are set already, but not generated yet, SIGALARM doesn't > occur at all :( > Is it normal? No. This looks like a bug. When advancing the clock past timed events which are outstanding, it is supposed to trigger those events that would have occurred in the interim. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?200011082019.NAA25082>