[LTP] [PATCH v2 2/2] pthread_create-14-1: avoid threads sharing stack

Cyril Hrubis chrubis@suse.cz
Tue Dec 12 10:56:13 CET 2017


Hi!
> Pushed with long long. I did same change to pthread_detach-4-3,
> where I made the same mistake years ago.
> 
> I'm thinking if we could re-use include/tst_timer.h in open_posix tests.

The timespec/timeval conversions are pretty much portable so it would
make sense to export this interface for open_posix_testsuite as well.

I guess that we may create a header
open_posix_testsuite/include/timerconv.h or something that would be used
as proxy header and would include the tst_timer.h from top level
include. This would make the open posix testsuite dependant on the rest
of the LTP, which hasn't been the case so far, but I have no idea if
someone actually cares.


-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list