[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH] libgst: Fix SIGALRM race and cancel a timer
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] [PATCH] libgst: Fix SIGALRM race and cancel a timer before starting a new one |
Date: |
Sat, 27 Sep 2014 21:32:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
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?
>
>
>