[Prev][Next][Index][Thread]

Re: possible bug in freebsd alarm()



Hi Bernard. Thanks for your bug report. This was a bug in the clock driver
that I fixed about a month ago. With any luck, we will have a new snapshot
of the source code ready to send out later this week with all kinds of
goodies. 

Lbs

> From: Bernard Cassagne <Bernard.Cassagne@imag.fr>
> Subject: possible bug in freebsd alarm()
> 
> I am porting a freebsd program to oskit. This program does
>    alarm(5);
>    recvfrom(...)
>    alarm(0);
> 
> The freebsd manual says :
>      The request alarm(0) voids the current alarm and the signal SIGALRM
>      will not be delivered.
> 
> But the program does not work because alarm(0) does not cancel the current
> alarm.