> 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
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message