Hi Thomas,
Thomas Petazzoni wrote,
Hello,
uClibc-ng is missing the definition of RUSAGE_THREAD. It is available
in glibc:
sysdeps/unix/sysv/linux/alpha/bits/resource.h: RUSAGE_THREAD = 1
sysdeps/unix/sysv/linux/bits/resource.h: RUSAGE_THREAD = 1
sysdeps/unix/sysv/linux/mips/bits/resource.h: RUSAGE_THREAD = 1
sysdeps/unix/sysv/linux/sparc/bits/resource.h: RUSAGE_THREAD = 1
We have a real-world usage of RUSAGE_THREAD by the pistache project,
https://github.com/oktal/pistache.
Thanks for your report. The definition of RUSAGE_THREAD is added in
1.0.42.
best regards
Waldemar