[LTP] [PATCH v3 2/3] tst_atomic: Introduce tst_atomic_t and apply it consistently

Petr Vorel pvorel@suse.cz
Fri Jun 6 16:40:54 CEST 2025


Hi Li,

> This patch introduces a new tst_atomic_t typedef (int32_t) to replace
> direct usage of int in atomic operations across the test framework.

> The changes ensure:

> - Consistent 32-bit atomic operations across platforms
> - Clearer intent for variables used in atomic contexts
> - Better maintainability through centralized type definition
> - Fixed declaration consistency in atomic APIs

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list