mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-29 11:15:38 +08:00
According to the C11 and C++11 memory models only a read-modify-write operation guarantees that we read the last value written in modification order. Avoid the sequential consistent thread fence and instead use the inter-processor interrupt to set the thread dispatch necessary indicator.