summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxconfig01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: Add self-contained pthread spinlockSebastian Huber2016-11-231-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn pthread_spinlock_t into a self-contained object. On uni-processor configurations, interrupts are disabled in the lock/trylock operations and the previous interrupt status is restored in the corresponding unlock operations. On SMP configurations, a ticket lock is a acquired and released in addition. The self-contained pthread_spinlock_t object is defined by Newlib in <sys/_pthreadtypes.h>. typedef struct { struct _Ticket_lock_Control _lock; __uint32_t _interrupt_state; } pthread_spinlock_t; This implementation is simple and efficient. However, this test case of the Linux Test Project would fail due to call of printf() and sleep() during spin lock ownership: https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c There is only limited support for profiling on SMP configurations. Delete CORE spinlock implementation. Update #2674.
* rtems: Remove task variablesSebastian Huber2016-05-041-29/+0
| | | | | Update #2494. Update #2555.
* confdefs.h: Fix named object size estimateSebastian Huber2016-05-041-5/+5
| | | | | | Account for the terminating null character. Use _POSIX_PATH_MAX instead of NAME_MAX according to _POSIX_Semaphore_Manager_initialization() and _POSIX_Message_queue_Manager_initialization().
* posix: Simplify message queuesSebastian Huber2016-05-021-5/+0
| | | | | | | | | | | | The mq_open() function returns a descriptor to a POSIX message queue object identified by a name. This is similar to sem_open(). In contrast to the POSIX semaphore the POSIX message queues use a separate object for the descriptor. This extra object is superfluous, since the object identifier can be used directly for this purpose, just like for the semaphores. Update #2702. Update #2555.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-3/+3
|
* psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill2015-03-241-1/+1
|
* tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill2015-03-171-4/+10
| | | | | These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
* Add POSIX key value pairs to resource snapshotSebastian Huber2014-12-121-15/+29
|
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-041-2/+11
| | | | | | Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
* psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber2014-03-311-1/+1
|
* tests/psxtests: Use <rtems/test.h>Sebastian Huber2014-03-251-2/+9
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* posix: Use interal mutex for once implementationSebastian Huber2014-03-191-2/+1
| | | | | | Enable pthread_once() for all configurations. The pthread_once() function is one means to initialize POSIX keys. Another use case is the C++ support.
* posix: Update to the pthread_once changes.Chris Johns2013-08-231-12/+15
| | | | | | Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
* testsuites: Include missing header filesSebastian Huber2013-07-221-0/+1
|
* libcsupport: Add rtems_resource_snapshot_take()Sebastian Huber2012-12-212-5/+101
| | | | | | Add rtems_resource_rtems_api, rtems_resource_posix_api, rtems_resource_snapshot, rtems_resource_snapshot_equal(), and rtems_resource_snapshot_check().
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-113-9/+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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+5
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-5/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-131-1/+1
| | | | * psxconfig01/init.c: Create floating point tasks.
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-131-61/+229
| | | | * psxconfig01/init.c: Create more objects.
* 2011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-091-1/+1
| | | | * psxconfig01/init.c: Fix due to alignment issue.
* 2011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-095-0/+349
* psxconfig01/.cvsignore, psxconfig01/Makefile.am, psxconfig01/init.c, psxconfig01/psxconfig01.doc, psxconfig01/psxconfig01.scn: New files. * Makefile.am, configure.ac: Reflect changes above.