MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
barriers
Search

[$] Memory-mapped I/O without mysterious macros

Tuesday February 26, 2019. 01:38 AM , from LWN.net
Concurrency is hard even when the hardware's behavior is entirely
deterministic; it gets harder in situations where operations can be
reordered in seemingly random ways. In these cases, developers tend to
reach for barriers as a way of enforcing ordering, but explicit barriers
are tricky to use and are often not the best way to think about the
problem. It is thus common to see explicit barriers removed as code
matures. That now seems to be happening with an especially obscure
type of barrier used with memory-mapped I/O (MMIO) operations.
https://lwn.net/Articles/780710/rss
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Tue 23 - 08:22 CEST