summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spthreadlife01/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[s-z]*: 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-05spthreadlife01: A task exit must not returnSebastian Huber1-3/+3
Update #3533.
2018-10-01rtems: Add rtems_task_exit()Sebastian Huber1-3/+27
Update #3533.
2018-10-01spthreadlife01: Remove superfluous restart caseSebastian Huber1-3/+0
Update #3243.
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.
2016-05-20testsuites: Avoid Giant lockSebastian Huber1-4/+5
Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable(). Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable(). This is a preparation to remove the Giant lock. Update #2555.
2016-05-20score: Add Thread_Change_life()Sebastian Huber1-5/+10
Add _Thread_Change_life_locked() as a general function to alter the thread life state. Use it to implement _Thread_Set_life_protection() as a first step. Update #2555. Update #2626.
2016-05-17sptests/spthreadlife01: Add self delete test caseSebastian Huber1-6/+35
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-2/+0
This define was superfluous, undocumented and used inconsistently.
2014-10-13score: Rework global constructionSebastian Huber1-1/+5
Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation.
2014-05-21score: _Thread_Set_life_protection()Sebastian Huber1-12/+62
Enable usage of _Thread_Set_life_protection() in thread dispatch critical sections. This can be used to enable the thread life-protection with thread dispatching disabled and then enable thread dispatching.
2014-03-31score: Do not reset resource count during restartSebastian Huber1-0/+352
This fixes an integer underflow problem in case resources are released after a thread restart. Add new test sptests/spthreadlife01.