[LTP] [RFC PATCH 0/2] Allow to compile on archs without atomic support

Jan Stancek jstancek@redhat.com
Mon Jan 8 16:09:32 CET 2018


----- Original Message -----
> Hi,

Hi,

> 
> I know as this has quite low priority (benefit only people with old
> compilers and archs), but why not to give a chance them to have at least
> something from LTP?

Compiler shouldn't matter, we have fallbacks.
So I assume this concerns only some architectures we currently don't support.

> Quite a lot of tests it's working, affected are only tests using threads
> on new API or fuzzy synchronization and counting results for tests using
> new api.

What if we made general implementation with some locking? It would be
slower, but I think we don't use atomics that much for it to matter.

Regards,
Jan


More information about the ltp mailing list