[PATCH 0/1] Implement clockrdlock / clockwrlock and test

Matt Joyce mfjoyce2004 at gmail.com
Fri Oct 8 13:22:58 UTC 2021


Hello,

Please find the attached implementions of pthread_rwlock_clockrdlock
and pthread_rwlock_clockwrlock, two newly added POSIX Issue 8
Standard methods. Also included is the psxrwlock02 test, which is
based on the previously existing test for the rwlock_timed*lock
methods.

Thank you!

Matt Joyce (1):
  Added implementations of the pthread_rwlock_clockrdlock and the
  pthread_rwlock_clockwrlock methods to cpukit/posix/src. Both of
  these methods have been newly added to the POSIX Issue 8 Standard.

 cpukit/posix/src/prwlockclockrdlock.c         |  70 ++
 cpukit/posix/src/prwlockclockwrlock.c         |  71 ++
 spec/build/testsuites/psxtests/grp.yml        |   2 +
 .../build/testsuites/psxtests/psxrwlock02.yml |  22 +
 testsuites/psxtests/Makefile.am               |   9 +
 testsuites/psxtests/configure.ac              |   1 +
 testsuites/psxtests/psxrwlock02/main.c        |  55 ++
 testsuites/psxtests/psxrwlock02/test.c        | 784 ++++++++++++++++++
 8 files changed, 1014 insertions(+)
 create mode 100644 cpukit/posix/src/prwlockclockrdlock.c
 create mode 100644 cpukit/posix/src/prwlockclockwrlock.c
 create mode 100644 spec/build/testsuites/psxtests/psxrwlock02.yml
 create mode 100644 testsuites/psxtests/psxrwlock02/main.c
 create mode 100644 testsuites/psxtests/psxrwlock02/test.c

-- 
2.31.1



More information about the devel mailing list