Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

C/C++ • Re: why are memory barriers not used in projects like pigpio

$
0
0
@cleverca I don't think the problem only affects the bcm2835, because the same recommendation is in the bcm2711 datasheet. As for multiple cores, I think that out-of-order execution would only apply to instructions in a single thread. If you had multiple threads trying to write to the same hardware registers at the same time the result would indeed be chaos.

Statistics: Posted by allanwright — Fri Jan 19, 2024 6:34 am



Viewing all articles
Browse latest Browse all 3552

Trending Articles