Friendly-C

via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 29 21:20:00 PDT 2014


On Saturday, 30 August 2014 at 00:50:23 UTC, deadalnix wrote:
> On Friday, 29 August 2014 at 21:03:59 UTC, Ola Fosheim Grøstad
>> If your semantics require page faults to trap then you should 
>> declare the storage volatile.
>>
>
> Or what ? Or it is undefined behavior ?

Or else you cannot rely on them to fire.

Traps are for specifying "extensions" to the hardware logic 
defaults (e.g. creating an emulator). If traps don't fire it 
basically means the extensions aren't needed for a correct 
program?


More information about the Digitalmars-d mailing list