diff options
author | Gedare Bloom <gedare@rtems.org> | 2020-01-02 15:45:30 -0700 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2020-01-03 09:10:09 -0700 |
commit | e3f6d35f65a49a2e5f79ddba0645bb9b7e51f182 (patch) | |
tree | d008d360a667b297907dd4cc67220a387f2686ce /cpukit/score/src/threadresettimeslice.c | |
parent | shell: Correct argument order of `mfill` (diff) | |
download | rtems-e3f6d35f65a49a2e5f79ddba0645bb9b7e51f182.tar.bz2 |
cpukit/score: avoid NULL and races in priority mutex4.10
The PIP modifications from #3359 introduced new data structures
to track priority inheritance. Prioritized mutexes without PIP
share some of the code paths, and may result in NULL pointer
accesses. This patch checks for NULL, and also adds ISR critical
sections to an uncovered corner case during thread restarts.
Closes #3829.
Diffstat (limited to 'cpukit/score/src/threadresettimeslice.c')
0 files changed, 0 insertions, 0 deletions