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

2021-10-11 Thread Matt Joyce
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. Added psxrwlock02 test to testsuites/psxtests to test the newly added methods. --- cpukit/posix/src/pr

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

2021-10-11 Thread Matt Joyce
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_clockwrl

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

2021-10-08 Thread Matt Joyce
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. psxrwlock02 test added to testsuites/psxtests to test the newly added methods. --- cpukit/posix/src/pr

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

2021-10-08 Thread Matt Joyce
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

[PATCH 1/1] Added Implementation / tests for pthread_cond_clockwait()

2021-09-18 Thread Matt Joyce
Added implementation of the pthread_cond_clockwait() method to cpukit/posix/src/condclockwait.c. Additional logic added to condwaitsupp.c to implement the new method. Pthread_cond_clockwait() has been added to the Issue 8 POSIX Standard. psxcond03 test added to testsuites/psxtests to test the newl

[PATCH 0/1] v4: Implementation of Condclockwait and Test

2021-09-18 Thread Matt Joyce
This version contains some formatting fixes from v3. Thank you! Matt Joyce (1): Added Implementation / tests for pthread_cond_clockwait() cpukit/include/rtems/posix/condimpl.h | 9 +- cpukit/posix/src/condclockwait.c | 78 +++ cpukit/posix/src/condtimedwait.c

[PATCH 0/1] v3: Implementation of Condclockwait and Test

2021-08-25 Thread Matt Joyce
time! Sincerely, Matt Matt Joyce (1): Added implementation / tests for pthread_cond_clockwait() cpukit/include/rtems/posix/condimpl.h | 9 +- cpukit/posix/src/condclockwait.c | 78 +++ cpukit/posix/src/condtimedwait.c | 3 +- cpukit/posix/src/condw

[PATCH 1/1] v3: Implemention of Condclockwait and Test

2021-08-25 Thread Matt Joyce
Added implementation of the pthread_cond_clockwait() method to cpukit/posix/src/condclockwait.c. Additional logic added to condwaitsupp.c to implement the new method. Pthread_cond_clockwait() has been added to the Issue 8 POSIX Standard. psxcond03 test added to testsuites/psxtests to test the newl

[PATCH 1/1] v2: Implement Condclockwait and Test

2021-08-19 Thread Matt Joyce
Added implementation of the pthread_cond_clockwait() method to cpukit/posix/src/condclockwait.c. Additional logic added to condwaitsupp.c to implement new method. pthread_cond_clockwait() has been added to the Issue 8 POSIX Standard. psxcond03 test added to testsuites/psxtests to test the newly ad

[PATCH 0/1] v2: Implement Condclockwait and Test

2021-08-19 Thread Matt Joyce
Dr Joel, Thank you for your feedback! This patch aims to implement your suggested edits. Sincerely, Matt Matt Joyce (1): Added implementation / tests for pthread_cond_clockwait() cpukit/include/rtems/posix/condimpl.h | 7 +- cpukit/posix/src/condclockwait.c | 78

[PATCH 1/1] Implementation / tests for pthread_cond_clockwait()

2021-08-18 Thread Matt Joyce
Added implementation of the pthread_cond_clockwait() method to cpukit/posix/src/condclockwait.c. Additional logic added to condwaitsupp.c to implement new method. pthread_cond_clockwait() has been added to the Issue 8 POSIX Standard. psx17 test added to testsuites/psxtests to test the newly added

[PATCH 0/1] Implementation and Test for pthread_cond_clockwait

2021-08-18 Thread Matt Joyce
y for any feedback. Sincerely, Matt Matt Joyce (1): Added implementation / tests for pthread_cond_clockwait() cpukit/include/rtems/posix/condimpl.h | 1 + cpukit/posix/src/condclockwait.c | 69 +++ cpukit/posix/src/condtimedwait.c | 1 + cpukit/posi

[PATCH 1/1] testsuites: added compile tests for new APIs

2021-08-06 Thread Matt Joyce
Added compile only tests for the following POSIX standard APIs: 1) pthread_rwlock_clockrdlock() 2) pthread_rwlock_clockwrlock() 3) pthread_cond_clockwait() 4) pthread_mutex_clocklock() All four were added to Issue 8 POSIX Standard and were added to testsuites/psxtests/psxhdrs/pthread. --- spec/bu

[PATCH 0/1] testsuites: Add Compile Tests for POSIX Clock APIs

2021-08-06 Thread Matt Joyce
) 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

[PATCH 2/2] testsuites: added compile tests for new APIs

2021-08-06 Thread Matt Joyce
Added compile only tests for new POSIX standard APIs pthread_cond_clockwait and pthread_mutex_clocklock in testsuites/psxtests/psxhdrs/pthread --- spec/build/testsuites/psxtests/libpsxhdrs.yml | 2 + .../psxhdrs/pthread/pthread_cond_clockwait.c | 54 ++ .../psxhdrs/pthread/pthrea

[PATCH 1/2] testsuites: added compile tests for new APIs

2021-08-06 Thread Matt Joyce
Added compile only tests for new POSIX standard APIs pthread_rwlock_clockrdlock() and pthread_rwlock_clockwrlock() in testsuites/psxtests/psxhdrs/pthread --- spec/build/testsuites/psxtests/libpsxhdrs.yml | 2 + .../pthread/pthread_rwlock_clockrdlock.c | 59 +++ .../pthread/pt

[PATCH 0/2] testsuites: Add Compile Tests for POSIX Clock APIs

2021-08-06 Thread Matt Joyce
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

[PATCH 0/1] libc: Added Prototypes for POSIX Clock APIs

2021-08-06 Thread Matt Joyce
Added function prototypes to newlib/libc/include/pthread.h for the following APIs: 1) pthread_cond_clockwait() 2) pthread_mutex_clocklock() 3) pthread_rwlock_clockrdlock() 3) pthread_rwlock_clockwrlock() All four will be newly added to the Issue 8 POSIX Standard. Matt Joyce (1): libc: Added

[PATCH 1/1] libc: Added prototypes for new POSIX APIs

2021-08-06 Thread Matt Joyce
Added function prototypes to newlib/libc/include/pthread.h for the following Issue 8 Standard APIs: pthread_cond_clockwait() pthread_mutex_clocklock() pthread_rwlock_clockrdlock() pthread_rwlock_clockwrlock() --- newlib/libc/include/pthread.h | 31 +++ 1 file changed, 3

[PATCH 1/1] testsuites: Added tests for sig2str/str2sig methods

2021-08-02 Thread Matt Joyce
Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../build/testsuites/psxtests/psxsignal09.yml | 21 +

[PATCH 0/1] Edited Tests for sig2str/str2sig

2021-08-02 Thread Matt Joyce
Hello, I would like to submit the following updated version of the tests for the sig2str/str2sig methods based on Newlib's requested changes to the source. Thank you very much for your time! Sincerely, Matt Matt Joyce (1): testsuites: Added tests for sig2str/str2sig methods spec/

[PATCH 1/1] testsuites: Added tests for sig2str/str2sig methods

2021-07-18 Thread Matt Joyce
Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../build/testsuites/psxtests/psxsignal09.yml | 21 +

[PATCH 0/1] Edited sig2str/str2sig tests per mentor feedback

2021-07-18 Thread Matt Joyce
Here is the new version of the psxsignal09 test and the compile only test based on mentor's feedback. Matt Joyce (1): testsuites: Added tests for sig2str/str2sig methods spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../

[PATCH v3] testsuites: Added tests for sig2str/str2sig methods

2021-07-09 Thread Matt Joyce
Fixed newline error at end of psxsignal09.yml. Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../bui

[PATCH v2] testsuites: Added tests for sig2str/str2sig methods

2021-07-09 Thread Matt Joyce
Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../build/testsuites/psxtests/psxsignal09.yml | 20 +

[PATCH v2] libc: Added implementations for sig2str/str2sig methods

2021-07-09 Thread Matt Joyce
Added implementations for sig2str() and str2sig() in libc/signal in order to improve POSIX compliance. Added function prototypes added to sys/signal.h. --- newlib/libc/include/sys/signal.h | 12 ++ newlib/libc/signal/sig2str.c | 235 +++ 2 files changed, 247 insert

[PATCH 2/2] testsuites: Edited tests for sig2str/str2sig methods

2021-07-07 Thread Matt Joyce
Added additional tests to init.c and added psxsignal09.scn and psxsignal09.doc to conform to RTEMS standards. --- testsuites/psxtests/Makefile.am | 2 + testsuites/psxtests/psxsignal09/init.c| 207 +- .../psxtests/psxsignal09/psxsignal09.doc | 34 +++

[PATCH 1/2] testsuites: Added tests for sig2str/str2sig methods

2021-07-07 Thread Matt Joyce
Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../build/testsuites/psxtests/psxsignal09.yml | 20 +

[PATCH 2/2] libc: Edited implementations for sig2str/str2sig

2021-07-07 Thread Matt Joyce
Added features to function implementations to conform with POSIX standard. --- newlib/libc/signal/sig2str.c | 96 ++-- 1 file changed, 81 insertions(+), 15 deletions(-) diff --git a/newlib/libc/signal/sig2str.c b/newlib/libc/signal/sig2str.c index a07fa2a38..152d10

[PATCH 1/2] libc: Added implementations for sig2str/str2sig

2021-07-07 Thread Matt Joyce
Added function implementations for sig2str() and str2sig() in libc/signal in order to improve POSIX compliance. --- newlib/libc/signal/sig2str.c | 156 +++ 1 file changed, 156 insertions(+) create mode 100644 newlib/libc/signal/sig2str.c diff --git a/newlib/libc/

[PATCH] libc: Added sig2str/str2sig prototypes

2021-07-07 Thread Matt Joyce
Added definition of SIG2STR_MAX and function prototypes for sig2str and str2sig in sys/signal.h in order to improve POSIX compliance. --- newlib/libc/include/sys/signal.h | 12 1 file changed, 12 insertions(+) diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/si

[PATCH] libc: Added sig2str/str2sig prototypes

2021-06-16 Thread Matt Joyce
***As Requested: For Review Only. Does Not Compile*** Added definition of SIG2STR_MAX and function prototypes for sig2str and str2sig in sys/signal.h in order to improve POSIX compliance. --- newlib/libc/include/sys/signal.h | 12 1 file changed, 12 insertions(+) diff --git a/newlib

[PATCH 1/1] Edited hello world message in init.c as prerequisite for GSOC application.

2021-03-15 Thread Matt Joyce
@@ static rtems_task Init( { rtems_print_printer_fprintf_putc(&rtems_test_printer); TEST_BEGIN(); - printf( "Hello World\n" ); + printf("Hello RTEMS World! From Matt Joyce, GSOC 2021 Applicant.\n"); TEST_END(); rtems_test_

[PATCH 0/1] Matt Joyce GSOC Hello World Patch

2021-03-15 Thread Matt Joyce
Hello RTEMS Community! Please see my Hello World patch as per the GSOC instructions. Thank you very much for your time and I'm excited to join you! Sincerely, Matt Matt Joyce (1): Edited hello world message in init.c as prerequisite for GSOC application. testsuites/samples/hello/i