Commit c460287
committed
Fix missing barrier in TX_DISABLE for Cortex-R5
This commit fixes thread safety issue in tx_byte_allocate by correcting
clobber list and adding missing compiler fence. This addresses potential
race conditions when aggressive compiler optimization is enabled.
See eclipse-threadx#3341 parent 2d4e183 commit c460287
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
0 commit comments