RFC: Proper Mutexes
All threads resolved!
All threads resolved!
This MR is the first step towards tackling the locking issues which are plaguing the firmware right now. Commit 82fe0cd7 introduces a new mutex API and the rest of the commits port a few select mutex-uses to it. Those are:
- Lifecycle/Core 1 mutex
- Sensor streams
- API dispatcher lock
- FAT filesystem
The rationale behind the new mutex design is detailed in the docs added as part of this MR: mutex.rst. The API can be found in mutex.h.
Cc: @schneider
Edited by schneider
Merge request reports
Activity
added 3-Epicardium 6 - Needs Review labels
added 16 commits
-
e21e1105...62c4ddcf - 11 commits from branch
master
- 896cedea - feat(epicardium): Add a proper mutex implementation
- ee137087 - chore(lifecycle): Port to new mutex API
- f33fec0e - chore(sensor-streams): Port to new mutex API
- f7abc259 - chore(api-lock): Port to new mutex API
- cb86e6f5 - chore(fatfs): Port to new mutex API
Toggle commit list-
e21e1105...62c4ddcf - 11 commits from branch
- Resolved by rahix
- Resolved by rahix
- Resolved by schneider
- Resolved by schneider
The semaphores in
max30001.c
,bhi.c
andhw-lock.c
have not been converted. Reason?
- Resolved by schneider
added 12 commits
-
cb86e6f5...c7e40e27 - 7 commits from branch
master
- 562255b8 - feat(epicardium): Add a proper mutex implementation
- a6f9606d - chore(lifecycle): Port to new mutex API
- 1ca26b6c - chore(sensor-streams): Port to new mutex API
- ff7d8eb2 - chore(api-lock): Port to new mutex API
- e788238f - chore(fatfs): Port to new mutex API
Toggle commit list-
cb86e6f5...c7e40e27 - 7 commits from branch
added 5 commits
Toggle commit listPushed an update, these are the changes against the previous version.
mentioned in commit a4fefd7e
Please register or sign in to reply