[LTP] [RFC PATCH 0/2] Allow to compile on archs without atomic support
Petr Vorel
pvorel@suse.cz
Wed Jan 10 12:17:57 CET 2018
Hi,
> > 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.
> Atomic increment was easiest way how to make the test library thread
> safe I wasn't concerned with speed at all. But that is not true for the
> CVE tests which use atomic operation to synchronize threads to trigger
> races.
That's why I implemented it in v1 as simple exit(). So are we ok that CVE tests will
probably be failing / taking so long?
Thank you both, for considering it, as I know it's only corner case.
Kind regards,
Petr
More information about the ltp
mailing list