Re: [Bug 126] Add support for attribute to mark data as volatile.

2014-06-01 Thread Timo Sintonen via D.gnu
I did not yet read the dip but here are some of my thoughts: At the old days peripherals were simple. An uart might have a control register, a status register and a data register, 8 bit each. It just did not matter how they were accessed. Now a peripheral like usb or ethernet may have tens of

[Bug 126] Add support for attribute to mark data as volatile.

2014-06-01 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=126 --- Comment #10 from Iain Buclaw --- (In reply to Johannes Pfau from comment #9) > @Mike: AFAIK shared has some additional requirements which are not necessary > for volatile: > > 1.) Atomic access: Accessing shared variables must always use ato

[Bug 126] Add support for attribute to mark data as volatile.

2014-06-01 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=126 --- Comment #9 from Johannes Pfau --- @Mike: AFAIK shared has some additional requirements which are not necessary for volatile: 1.) Atomic access: Accessing shared variables must always use atomic access (This is not yet enforced, but see https