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

Matt Joyce mfjoyce2004 at gmail.com
Mon Oct 11 11:23:31 UTC 2021


Dr. Joel,

Thanks very much for your review! Please see the updated version with
pared-down test, check for invalid clock, and check for invalid
abstime->tv_nsec.

Sincerely,

Matt

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         | 111 +++++
 cpukit/posix/src/prwlockclockwrlock.c         | 112 +++++
 spec/build/testsuites/psxtests/grp.yml        |   2 +
 .../build/testsuites/psxtests/psxrwlock02.yml |  21 +
 testsuites/psxtests/Makefile.am               |   9 +
 testsuites/psxtests/configure.ac              |   1 +
 testsuites/psxtests/psxrwlock02/main.c        | 391 ++++++++++++++++++
 7 files changed, 647 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

-- 
2.31.1



More information about the devel mailing list