Re: [PATCH] Multicall improvements didn't improve trap

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Tue, 28 Mar 2023 07:35:35 +0000

>Sending signals to the trap process does nothing. If I revert
>9d55d49dad0f4cb90e6ff2f9b1c3bc46a6fcf05f, trap works as expected. After
>some debugging I think that the pids array in trap.c contains garbage
>since it isn't initialized statically anymore (see the attached patch).

  Your diagnosis is correct indeed, the change from static to automatic
removed the implicit initialization to 0.

  Patch applied, thanks.

--
  Laurent
Received on Tue Mar 28 2023 - 09:35:35 CEST

This archive was generated by hypermail 2.4.0 : Tue Mar 28 2023 - 09:36:05 CEST