Commit fbbed10
change(freertos/smp): Update stream_buffer.c locking
Updated stream_buffer.c to use granular locking
- Added xTaskSpinlock and xISRSpinlock
- Replaced critical section macros with data group locking macros
such as taskENTER/EXIT_CRITICAL() with taskLOCK/UNLOCK_DATA_GROUP().
- Added prvSuspendStreamBuffer() and prvResumeStreamBuffer() to suspend the stream
buffer when executing non-deterministic code.1 parent 2d19759 commit fbbed10
2 files changed
+142
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3488 | 3488 | | |
3489 | 3489 | | |
3490 | 3490 | | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
3491 | 3494 | | |
3492 | 3495 | | |
3493 | 3496 | | |
| |||
0 commit comments