C and real hardware - (nf)

arvind at ubvax.UUCP arvind at ubvax.UUCP
Sun Jun 26 04:27:12 AEST 1983


#R:rlgvax:-34500:ubvax:4100002:000:380
ubvax!arvind    Apr 30 11:15:00 1983

***** ubvax:net.lang.c / arvind /  7:10 pm  Apr 29, 1983
***** ubvax:net.lang.c / rlgvax!tom /  4:40 pm  Apr 28, 1983
RE: possible undesired optimization of code like:

	while (ADDR->c_reg&BUSY)
		;

"shared" in place of "volatile" or "unregister" may be a nicer attribute
for vaibales "shared" between processes; the latter includes external
device processes in case of drivers.



More information about the Comp.lang.c mailing list