avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os


From: David Brown
Subject: Re: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os
Date: Fri, 23 May 2008 09:54:24 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Andy H wrote:
BTW

I 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]