summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxconfig01 (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-23posix: Add self-contained pthread spinlockSebastian Huber1-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.
2016-05-04rtems: Remove task variablesSebastian Huber1-29/+0
Update #2494. Update #2555.
2016-05-04confdefs.h: Fix named object size estimateSebastian Huber1-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().
2016-05-02posix: Simplify message queuesSebastian Huber1-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.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber1-3/+3
2015-03-24psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill1-1/+1
2015-03-17tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill1-4/+10
These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
2014-12-12Add POSIX key value pairs to resource snapshotSebastian Huber1-15/+29
2014-04-04Disable per task variables when SMP is enabledJoel Sherrill1-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.
2014-03-31psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber1-1/+1
2014-03-25tests/psxtests: Use <rtems/test.h>Sebastian Huber1-2/+9
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns2-2/+2
2014-03-19posix: Use interal mutex for once implementationSebastian Huber1-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.
2013-08-23posix: Update to the pthread_once changes.Chris Johns1-12/+15
Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
2013-07-22testsuites: Include missing header filesSebastian Huber1-0/+1
2012-12-21libcsupport: Add rtems_resource_snapshot_take()Sebastian Huber2-5/+101
Add rtems_resource_rtems_api, rtems_resource_posix_api, rtems_resource_snapshot, rtems_resource_snapshot_equal(), and rtems_resource_snapshot_check().
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill3-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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill1-0/+5
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius1-5/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill1-2/+0
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+1
* psxconfig01/init.c: Create floating point tasks.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-61/+229
* psxconfig01/init.c: Create more objects.
2011-12-092011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+1
* psxconfig01/init.c: Fix due to alignment issue.
2011-12-092011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber5-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.