Re: [patch 07/20] posix-timers: Set k_itimer::it_signal to NULL on exit()

From: Frederic Weisbecker
Date: Thu Jun 01 2023 - 06:11:07 EST


On Tue, Apr 25, 2023 at 08:49:06PM +0200, Thomas Gleixner wrote:
> Technically it's not required to set k_itimer::it_signal to NULL on exit()
> because there is no other thread anymore which could lookup the timer
> concurrently.
>
> Set it to NULL for consistency sake and add a comment to that effect.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>