Andy H wrote:
BTWI believe the common attribute/keyword for this should be monitor as in monitor void dostuff(void) { putchar ( āZā ); } This will give a degree of compatibility with other compilers.
If other compilers use "monitor", then that makes sense. It is also arguably more accurate, at least for those who have a background in more theoretical computing, while the word "critical" could just mean you want the function to be as fast as possible.
http://en.wikipedia.org/wiki/Monitor_%28synchronization%29 mvh., David _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
