summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spmutex01/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-04-05testsuites/sptests/sp[g-r]*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-10bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2018-10-29posix: Enable more sptests test cases by defaultSebastian Huber1-42/+16
Update #2514.
2017-11-16rtems: rtems_semaphore_flush() with prio inheritSebastian Huber1-11/+47
The _Semaphore_Get_operations() must return the proper operations for priority inheritance semaphores. Add a test case for rtems_semaphore_flush() with priority inheritance. Close #3235.
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-0/+2
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-10-05posix: Implement self-contained POSIX mutexSebastian Huber1-1/+0
POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
2016-12-12Rename is_internal to always_set_to_falseSebastian Huber1-2/+2
Update #2825.
2016-09-21score: Rework thread priority managementSebastian Huber1-7/+134
Add priority nodes which contribute to the overall thread priority. The actual priority of a thread is now an aggregation of priority nodes. The thread priority aggregation for the home scheduler instance of a thread consists of at least one priority node, which is normally the real priority of the thread. The locking protocols (e.g. priority ceiling and priority inheritance), rate-monotonic period objects and the POSIX sporadic server add, change and remove priority nodes. A thread changes its priority now immediately, e.g. priority changes are not deferred until the thread releases its last resource. Replace the _Thread_Change_priority() function with * _Thread_Priority_perform_actions(), * _Thread_Priority_add(), * _Thread_Priority_remove(), * _Thread_Priority_change(), and * _Thread_Priority_update(). Update #2412. Update #2556.
2016-07-27score: Add deadlock detectionSebastian Huber1-39/+374
The mutex objects use the owner field of the thread queues for the mutex owner. Use this and add a deadlock detection to _Thread_queue_Enqueue_critical() for thread queues with an owner. Update #2412. Update #2556. Close #2765.
2016-05-12score: Fix CORE mutex initializationSebastian Huber1-120/+14
The priority inheritance and ceiling CORE mutexes wrongly used the FIFO queueing discipline. Delete misleading _CORE_mutex_Is_priority(). Bug introduced by 1e1a91ed11458ddbb27b94d0001d8f0fc2ef7a97. Add test sptests/spmutex01, since no existing uni-processor test covered the thread priority queueing discipline for CORE mutexes.
2015-10-15Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-2/+0
This define accidentally re-appeared.
2015-09-04score: Implement priority boostingSebastian Huber1-5/+56
2015-09-04score: Implement SMP-specific priority queueSebastian Huber1-0/+326