[Info-vax] Volatile, was: Re: yet another sys$qiow question
Craig A. Berry
craigberry at nospam.mac.com
Thu Aug 20 11:05:52 EDT 2015
On 8/20/15 9:52 AM, JF Mezei wrote:
> On 15-08-20 10:45, Craig A. Berry wrote:
>> On 8/20/15 8:54 AM, JF Mezei wrote:
>>> So, after reading this, I am still puzzled...
>>>
>>> in DEC-C, how does one declare a variable as "volatile" ?
>>
>> As with any C compiler, using the "volatile" keyword, obviously:
>
> This is the first I ever heard of it, or seen it. And been doing $QIOs
> since late 1980s. Pretty scary eh ?
No, not really. If you do what you're supposed to you're fine. Only
"busy-waiting" on the IOSB could run into the problems described in this
thread. I've never seen code that does that. I'm not saying it doesn't
exist, but I'm skeptical it's at all common.
More information about the Info-vax
mailing list