commit | ae5aa47370455123bf84e52dd8354d26c29efea8 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Nov 11 23:54:30 2013 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 12 15:00:13 2013 +0000 |
tree | 8f6dd70b24bf696ba8dac5c1ec09bcb761124756 | |
parent | a0e02f5d52e4e10d6e46522c7233dc4914d4010b [diff] |
Make SIGEV_THREAD_ID decoding less glibc specific SIGEV_THREAD_ID decoding requires access to an internal member of struct sigevent. There seems to be no portable way to do it besides adding a configure check. * configure.ac (AC_CHECK_MEMBERS): Check for struct sigevent._sigev_un._pad and struct sigevent.__pad. * time.c (printsigevent): Use an appropriate struct sigevent member to print thread id. Reported by John Spencer.