Quantcast
Channel: Is memory barrier related to some specific memory location? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by qwwdfsad for Is memory barrier related to some specific memory...

Memory barriers are not related to any specific memory locations.It's not about "write to memory address x should happen before write to address y", it's about execution order of instructions, e.g. for...

View Article



Is memory barrier related to some specific memory location?

I'm trying to learn the basics about low-level concurrency.From Linux documentation: A write memory barrier gives a guarantee that all the STORE operations specified before the barrier will appear to...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images