summaryrefslogtreecommitdiff
path: root/kern/rtmutex.c
AgeCommit message (Collapse)Author
2018-04-19kern/atomic: remove shortcutsRichard Braun
These shortcuts just don't bring enough value.
2018-01-29Fix undefined behavior in conditional macro replacementRichard Braun
See C11 6.10.3 ยง11 : If there are sequences of preprocessing tokens within the list of arguments that would otherwise act as preprocessing directives, the behavior is undefined.
2018-01-16Clean up init op dependencies between syscnt and mutexRichard Braun
2018-01-07kern/Kconfig: new MUTEX_DEBUG optionRichard Braun
2017-12-03Revert "Make assert have no side effects"Richard Braun
This reverts commit d18d0e85596f90e0bd597b33d58209d0b3973c95.
2017-09-06kern/rtmutex: fix priority propagation on unlockRichard Braun
2017-09-02Make assert have no side effectsRichard Braun
This makes sure symbols referenced by assert uses may not be generated if unused. The recently introduced __unused macro is used to suppress compiler warnings resulting from this change.
2017-08-31Make mutex debugging slightly more convenientRichard Braun
Define the macro controlling mutex debugging only if not already defined, allowing users to pass it through CFLAGS.
2017-08-31Add debugging code to the mutex modulesRichard Braun
2017-08-27kern/rtmutex: implement timed waitsRichard Braun
2017-07-25kern/rtmutex: improve variable namingRichard Braun
Use the same names as in the mutex_adaptive module.
2017-07-21Merge branch 'adaptive_spinning'Richard Braun
2017-07-21Rework mutex implementation selectionAgustina Arzille
2017-06-13Various atomic access fixesRichard Braun
2017-05-30Move assert.h to the include directoryRichard Braun
This turns assert.h into a standard header.
2017-05-09Replace sequential consistency with more efficient ordersAgustina Arzille
2017-04-04Use the new atomic operations interfaceAgustina Arzille
Stick to a sequentially consistent model for most atomic operations as it matches the semantics of the existing code. Each call site will have to be reevaluated in order to switch to more relaxed accesses where possible.
2017-03-04kern/rtmutex: new moduleRichard Braun
The rtmutex provides real-time mutexes, i.e. mutexes for which priority inheritance is unconditionally enabled.