Re: [PATCH] libgst: Fix SIGALRM race and cancel a timer before starting a new one

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
Il 26/09/2014 20:26, Holger Hans Peter Freyther ha scritto:
> do you know that posix make any guarantee that either the signal of
> the previous timer has been delivered or the old timer has been
> canceled?

Yes, definitely.  The old timer must be delivered before
timer_settime/setitimer returns.

Paolo

> For clock monotinic I did find common_timer_set inide the kernel
> and it seems that it tries to prevent such thing?
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.