help-smalltalk
[Top][All Lists]
Advanced

[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: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] [PATCH] libgst: Fix SIGALRM race and cancel a timer before starting a new one
Date: Fri, 26 Sep 2014 20:26:30 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Sep 26, 2014 at 04:52:41PM +0200, Paolo Bonzini wrote:

> Thanks, this is okay.  It is racy anyway whether the
> previously-registered timer would happen anyway; canceling the timer
> solves the race in favor of the new timer.

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?

For clock monotinic I did find common_timer_set inide the kernel
and it seems that it tries to prevent such thing?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]