Commit 92f4a65
change(freertos/smp): Update queue.c locking
Updated queue.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 prvSuspendQueue() and prvResumeQueue() as the granular locking equivalents
to prvLockQueue() and prvUnlockQueue() respectively
- Added missing critical sections to prvNotifyQueueSetContainer()1 parent 64e7e45 commit 92f4a65
2 files changed
+350
-182
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3396 | 3396 | | |
3397 | 3397 | | |
3398 | 3398 | | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
3399 | 3403 | | |
3400 | 3404 | | |
3401 | 3405 | | |
| |||
0 commit comments