summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxrwlock01/test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/psxtests/psx[n-z]*: Change license to BSD-2Joel Sherrill2022-04-121-3/+22
| | | | Updates #3053.
* posix: Fix rwlock auto initializationSebastian Huber2018-07-161-0/+6
| | | | Add more test cases.
* tests: Remove configure feature checksSebastian Huber2018-05-021-5/+0
| | | | Update #3409.
* posix: Implement self-contained POSIX rwlocksSebastian Huber2017-10-051-54/+201
| | | | | | | | POSIX rwlocks are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3115.
* posix: Allow PTHREAD_PROCESS_SHARED for rwlocksSebastian Huber2017-09-221-0/+38
| | | | Close #3153.
* posix: Add auto initializaton for rwlockSebastian Huber2014-10-081-0/+37
|
* tests/psxtests: Use <rtems/test.h>Sebastian Huber2014-03-251-2/+4
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* psxtests - Eliminate missing prototype warningsJoel Sherrill2012-05-111-3/+12
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-311-0/+10
| | | | | | | | PR 1867/cpukit * Makefile.am, configure.ac, psx12/task.c, psxkey03/init.c, psxrwlock01/test.c: Correct implementation of pthread_exit() and pthread_join() to support the case where a thread is joinable but calls pthread_exit() before a thread has attempted to join.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-221-0/+4
|
* 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-211-5/+40
| | | | | | | * psx05/init.c: Check for correct status returned. * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test code to exercise path when attempting to lock for reading but there is at least one writer blocked waiting for access.
* 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-211-76/+76
| | | | | | | | | | | | | | | | | | * psx02/init.c, psx02/task.c, psx03/init.c, psx04/init.c, psx04/task1.c, psx04/task2.c, psx04/task3.c, psx05/init.c, psx05/task.c, psx05/task2.c, psx05/task3.c, psx06/init.c, psx06/task.c, psx06/task2.c, psx07/init.c, psx08/init.c, psx08/task2.c, psx08/task3.c, psx09/init.c, psx10/init.c, psx10/task.c, psx10/task2.c, psx10/task3.c, psx11/init.c, psx11/task.c, psx12/init.c, psxalarm01/init.c, psxbarrier01/test.c, psxcancel01/init.c, psxchroot01/test.c, psxitimer/init.c, psxkey01/task.c, psxkey02/init.c, psxkey03/init.c, psxmount/test.c, psxmsgq01/init.c, psxmsgq03/init.c, psxmsgq04/init.c, psxrwlock01/test.c, psxsem01/init.c, psxsignal01/init.c, psxsignal01/task1.c, psxsignal02/init.c, psxsignal03/init.c, psxsignal05/init.c, psxspin01/test.c, psxspin02/test.c, psxstack01/init.c, psxstack02/init.c, psxualarm/init.c: Eliminate double space after parenthesis on rtems_test_assert().
* 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-081-0/+1
| | | | | | * psxrwlock01/test.c, psxspin01/test.c, psxspin02/test.c: Fix spacing and compilation issues. Initial test build was accidentally without POSIX enabled.
* 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-081-78/+77
| | | | | | | | | | | | | | | | | | | | | | | * include/pmacros.h, psx01/task.c, psx02/init.c, psx02/task.c, psx03/init.c, psx03/task.c, psx04/init.c, psx04/task1.c, psx04/task2.c, psx04/task3.c, psx05/init.c, psx05/task.c, psx05/task2.c, psx05/task3.c, psx06/init.c, psx06/task.c, psx06/task2.c, psx07/init.c, psx08/init.c, psx08/task2.c, psx08/task3.c, psx09/init.c, psx10/init.c, psx10/task.c, psx10/task2.c, psx10/task3.c, psx11/init.c, psx11/task.c, psx12/init.c, psxalarm01/init.c, psxbarrier01/test.c, psxcancel01/init.c, psxchroot01/test.c, psxclock/init.c, psxfile01/test.c, psxfile01/test_cat.c, psxfile01/test_extend.c, psxfile01/test_write.c, psxitimer/init.c, psxkey01/task.c, psxkey02/init.c, psxkey03/init.c, psxmount/test.c, psxmsgq01/init.c, psxmsgq03/init.c, psxmsgq04/init.c, psxreaddir/test.c, psxrwlock01/test.c, psxsem01/init.c, psxsignal01/init.c, psxsignal01/task1.c, psxsignal02/init.c, psxsignal03/init.c, psxsignal05/init.c, psxspin01/test.c, psxspin02/test.c, psxstack01/init.c, psxstat/test.c, psxtime/test.c, psxualarm/init.c: Use rtems_test_assert() consistently instead of system assert(). rtems_test_assert() is designed to integrate into the RTEMS test suite infrastructure.
* Whitespace removal.Ralf Corsepius2009-11-301-4/+4
|
* 2009-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-251-0/+5
| | | | | | * configure.ac: Check for pthread_rwlock_unlock in pthread.h. * psxrwlock01/test.c: Conditionally add local prototype for pthread_rwlock_unlock() if pthread.h doesn't supply it.
* Remove unused vars.Ralf Corsepius2009-10-251-1/+0
| | | | Add missing prototypes.
* 2009-07-04 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-07-041-0/+14
| | | | | * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for obtaining an rwlock and then releasing it twice.
* 2009-07-01 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-07-011-0/+14
| | | | | | * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for obtaining rwlock for write with a timed lock operation when the abstime timeout is in the past.
* 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-301-1/+16
| | | | | | * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for obtaining rwlock for read with a timed lock operation when the abstime timeout is in the past.
* 2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-181-0/+9
| | | | | * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for NULL attribute pointer on init.
* 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-151-4/+0
| | | | | | PR 1297/cpukit * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute pointer handling.
* 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-271-52/+78
| | | | | | * psxbarrier01/psxbarrier01.scn, psxbarrier01/test.c, psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Added several test cases to improve test coverage.
* 2006-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2006-12-041-7/+93
| | | | | * psxrwlock01/main.c, psxrwlock01/test.c: Improve rwlock test to include normal blocking and unblocking on timeout.
* 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2006-11-151-0/+268
* psxrwlock01/.cvsignore, psxrwlock01/Makefile.am, psxrwlock01/main.c, psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c, psxspin01/.cvsignore, psxspin01/Makefile.am, psxspin01/main.c, psxspin01/psxspin01.scn, psxspin01/test.c: New files.