[PATCH 0/1] testsuites: Add Compile Tests for POSIX Clock APIs
Matt Joyce
mfjoyce2004 at gmail.com
Fri Aug 6 20:25:48 UTC 2021
Re-submitting based on recommended edits:
(Defined _GNU_SOURCE, initialized timespec struct, added comment
identifying Issue 8 as the origin of the methods)
Thank you!
**********
Added compile only tests in cpukit/testsuites/psxtests/psxhdrs/pthread
for the following APIs:
1) pthread_cond_clockwait()
2) pthread_mutex_clocklock()
3) pthread_rwlock_clockrdlock()
4) pthread_rwlock_clockwrlock()
All four methods are being added to the Issue 8 POSIX Standard.
Matt Joyce (2):
testsuites: added compile tests for new APIs
testsuites: added compile tests for new APIs
spec/build/testsuites/psxtests/libpsxhdrs.yml | 4 ++
.../psxhdrs/pthread/pthread_cond_clockwait.c | 54 +++++++++++++++++
.../psxhdrs/pthread/pthread_mutex_clocklock.c | 56 ++++++++++++++++++
.../pthread/pthread_rwlock_clockrdlock.c | 59 +++++++++++++++++++
.../pthread/pthread_rwlock_clockwrlock.c | 59 +++++++++++++++++++
5 files changed, 232 insertions(+)
create mode 100644 testsuites/psxtests/psxhdrs/pthread/pthread_cond_clockwait.c
create mode 100644 testsuites/psxtests/psxhdrs/pthread/pthread_mutex_clocklock.c
create mode 100644 testsuites/psxtests/psxhdrs/pthread/pthread_rwlock_clockrdlock.c
create mode 100644 testsuites/psxtests/psxhdrs/pthread/pthread_rwlock_clockwrlock.c
--
2.31.1
More information about the devel
mailing list