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

Frederic Weisbecker
2023-06-01T10:11:08Z

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@linutronix.de>

Reviewed-by: Frederic Weisbecker <frederic@kernel.org>