[Info-vax] yet another sys$qiow question

John Reagan xyzzy1959 at gmail.com
Thu Aug 20 15:12:17 EDT 2015


On Thursday, August 20, 2015 at 2:56:06 PM UTC-4, Johnny Billquist wrote:

> 
> SYS$QIO(<arguments>);
> if (iosb == 0) {
>    <do some stuff>
>    <wait for I/O completion>
>    printf("IOSB is now %x\n", iosb);
> }
> 
> which would, with a good optimizing compiler, and iosb not declared as 
> volatile, an output showing that iosb was 0, even though it actually 
> would not be zero.

Absolutely.  We should value-propagate that today.



More information about the Info-vax mailing list