Hi Andreas, > On Jun 24 2020, Lukasz Majewski wrote: > > > As I stated above - e.g. timespec_sub() helper function (from > > /support) is used by both pthreats and tests. > > There are two definitions of timespec_sub, in support/timespec-sub.c > and in sysdeps/pthread/posix-timer.h. The former is for use in > tests, the latter is used by libpthread. So if I understood it correctly - the support/* functions are to facilitate writing tests? > > The functions in support/timespec-*.c should probably be renamed to > xtimespec_*. And the 'x' prefix means that those functions are supposed to be used for testing? > > Andreas. > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de