summaryrefslogtreecommitdiff
path: root/cpukit/score/src/apimutexlock.c (follow)
AgeCommit message (Collapse)Author
2019-04-04doxygen: Rename Score* groups in RTEMSScore*Sebastian Huber
Update #3706
2017-12-04score: Use self-contained API mutexSebastian Huber
Use a self-contained recursive mutex for API_Mutex_Control. The API mutexes are protected against asynchronous thread cancellation. Add dedicated mutexes for libatomic and TOD. Close #2629. Close #2630.
2017-10-24score: Move thread queue timeout handlingSebastian Huber
Update #3117. Update #3182.
2016-09-27score: Unify CORE mutex seize/surrenderSebastian Huber
Use the Thread_Control::resource_count for the no protocol mutexes. Merge the no protocol and priority inherit CORE mutex seize/surrender operations.
2016-09-08score: Introduce Thread_queue_Lock_contextSebastian Huber
Introduce Thread_queue_Lock_context to contain the context necessary for thread queue lock and thread wait lock acquire/release operations to reduce the Thread_Control size.
2016-07-25cpukit: Add and use Watchdog_Discipline.Gedare Bloom
Clock disciplines may be WATCHDOG_RELATIVE, WATCHDOG_ABSOLUTE, or WATCHDOG_NO_TIMEOUT. A discipline of WATCHDOG_RELATIVE with a timeout of WATCHDOG_NO_TIMEOUT is equivalent to a discipline of WATCHDOG_NO_TIMEOUT. updates #2732
2016-05-30score: Rework CORE inherit priority mutexSebastian Huber
Provide dedicated seize and surrender methods for inherit priority mutexes. This eliminates CORE_mutex_Attributes.
2016-05-30score: Add _Thread_queue_Context_set_MP_callout()Sebastian Huber
Add _Thread_queue_Context_set_MP_callout() to simplify _Thread_queue_Context_initialize(). This makes it possible to more easily add additional fields to Thread_queue_Context.
2016-05-25score: Move thread queue MP callout to contextSebastian Huber
Drop the multiprocessing (MP) dependent callout parameter from the thread queue extract, dequeue, flush and unblock methods. Merge this parameter with the lock context into new structure Thread_queue_Context. This helps to gets rid of the conditionally compiled method call helpers.
2016-05-20score: Add Thread_Change_life()Sebastian Huber
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-04-21score: Remove id parameter _CORE_mutex_Seize()Sebastian Huber
Parameter was unused.
2015-05-19score: Fine grained locking for mutexesSebastian Huber
Update #2273.
2015-04-21score: _Objects_Get_isr_disable()Sebastian Huber
Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for low-level locking. Update #2273.
2014-03-31score: Use thread life protection for API mutexesSebastian Huber
This prevents that asynchronous thread deletion can lead to an unusable allocator or once mutex.
2014-03-31score: Relax Giant lock usage for API mutexesSebastian Huber
It is no longer necessary to protect the workspace allocations with the Giant lock due to the thread life cycle re-implementation.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-07-18score: Avoid direct usage of _Thread_ExecutingSebastian Huber
Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
2013-07-18score: Create mutex implementation headerSebastian Huber
Move implementation specific parts of coremutex.h and coremutex.inl into new header file coremuteximpl.h. The coremutex.h contains now only the application visible API.
2012-12-01score misc: Score misc: Clean up Doxygen #10 (GCI 2012)Christopher Kerl
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. http://www.google-melange.com/gci/task/view/google/gci2012/7983216
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
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-08-022011-08-02 Jennifer.Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett
PR 1872 * score/src/apimutexlock.c, score/src/apimutexunlock.c: Added smp support to apimutex.
2009-11-29Whitespace removal.Ralf Corsepius
2008-12-22Eliminate TRUE/FALSE.Ralf Corsepius
2007-11-092007-11-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill
* score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were in opposite files. Whoops!
2007-11-092007-11-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill
* sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/apimutex.h: API Mutex calls should never have been inlined. Inlining them lead to many inlined copies of core mutex lock. This lead to over 2K savings in the SPARC/ERC32 minimum.exe. * score/src/apimutex.c, score/src/apimutexallocate.c, score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.