[Info-vax] yet another sys$qiow question
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Wed Aug 19 20:22:45 EDT 2015
On 2015-08-19 23:45:21 +0000, John Reagan said:
> On Wednesday, August 19, 2015 at 7:37:14 PM UTC-4, David Froble wrote:
>>
>> In this case, I'm going to observe that it's poor coding practice. Why
>> would you tie up the CPU in a loop? Wouldn't that have an adverse
>> affect on all users?
>
> You wouldn't do this in practice. You'd use $WAITFR and $SYNCH.
Or an AST, of course. Or multithreading in C11, or some other
language environment that supports such. Maybe Rust, on x86-64,
if/when VMS gets there.
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf>
<http://blog.smartbear.com/codereviewer/c11-a-new-c-standard-aiming-at-safer-programming/>
<https://www.rust-lang.org>
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list