Accessing peripheral registers - the next version

Mike via D.gnu d.gnu at puremagic.com
Sat Aug 27 18:20:14 PDT 2016


On Saturday, 27 August 2016 at 08:05:08 UTC, Timo Sintonen wrote:

> My question is: is this the way we should go?
> If it is, what would be the preferred name for this type? Also 
> what would you think should be the module and file name?

There was some discussion about the module and file names when 
`volatileLoad` and `volatileStore` were added to the runtime.
(https://github.com/dlang/druntime/pull/1032#issuecomment-64071568).

It was generally agreed upon that volatile features should go in 
`core.volatile` after the `volatile` keyword was removed.  Seems 
reasonable to me.
(https://issues.dlang.org/show_bug.cgi?id=13826).

The `volatile` keyword was removed in March 2016.
(https://github.com/dlang/dmd/pull/5556)

`core.volatile` seems like a good place for this `Volatile(T)` 
implementation, IMO.

Mike


More information about the D.gnu mailing list