Commit c794d61
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.
Co-authored-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>1 parent 6ef9c00 commit c794d61
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