Volatile is Necessary

Peter da Silva peter at sugar.UUCP
Tue Apr 5 00:44:27 AEST 1988


In article <77200028 at uiucdcsp>, gillies at uiucdcsp.cs.uiuc.edu writes:
> I believe that you sincerely need this feature, but I also sincerely
> believe that most people won't need it.  In top-quality standards
> work, you learn to leave out the nonessentials.  Others can put them
> in at their own discretion.

You need volatile to efficiently implement device drivers.

Given this, and assuming that you actually do want to write your drivers
in something other than assembly, volatile is necessary.
-- 
-- Peter da Silva  `-_-'  ...!hoptoad!academ!uhnix1!sugar!peter
-- Disclaimer: These U aren't mere opinions... these are *values*.



More information about the Comp.lang.c mailing list