|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 2/6] tools/misc: rework xenwatchdogd signal handling
Hi Andrew, On 2024-04-11 13:12, Andrew Cooper wrote: On 29/03/2024 11:10 am, leigh@xxxxxxxxxxxxx wrote:diff --git a/tools/misc/xenwatchdogd.c b/tools/misc/xenwatchdogd.c index 2f7c822d61..35a0df655a 100644 --- a/tools/misc/xenwatchdogd.c +++ b/tools/misc/xenwatchdogd.c @@ -9,9 +9,11 @@ #include <unistd.h> #include <signal.h> #include <stdio.h> +#include <stdbool.h> xc_interface *h; -int id = 0; +static bool safeexit = false; +static bool done = false;It's a common bug, but these need to be volatile. Right now, ... I'm an idiot (I'm sure I've mentioned this a couple of times :-) )
Thanks, I will get those done this evening, hopefully. Regards, Leigh.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |