[LTP] [PATCH v2 1/2] tst_atomic: drop legacy inline assembly and use __atomic or __sync builtins
Cyril Hrubis
chrubis@suse.cz
Fri Jun 6 12:16:09 CEST 2025
Hi!
> Or, do you think it's necessary to define a dedicated tst_atomic_t type,
> such as:
> typedef int32_t tst_atomic_t;
> and use it explicitly for all variables that are subject to atomic
> operations?
>
> This way, we can clearly declare which values are intended for atomic use,
> improving type safety and code clarity.
Sounds good to me.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list