ARM bare-metal programming in D (cont) - volatile

eles eles at eles.com
Thu Oct 24 04:22:38 PDT 2013


On Thursday, 24 October 2013 at 08:20:43 UTC, Iain Buclaw wrote:
> On 24 October 2013 08:18, Mike <none at none.com> wrote:
>> On Thursday, 24 October 2013 at 06:37:08 UTC, Iain Buclaw 
>> wrote:
>>>
>>> On 24 October 2013 06:37, Walter Bright 
>>> <newshound2 at digitalmars.com>
>>> wrote:
>>>>
>>>> On 10/23/2013 5:43 PM, Mike wrote:
> 'shared' guarantees that all reads and writes specified in 
> source code
> happen in the exact order specified with no omissions, as there 
> may be
> other threads reading/writing to the variable at the same time.

All that's missing is a guarantee that the reading/writing 
actually occur at the intended address and not in some compiler 
cache.



More information about the Digitalmars-d mailing list