Tobias Drößler wrote:
i read that this line in "genearal" c (compiler depended) means that the function(s) can be re-entered while it is already running. but compiled with the avr-gcc -- there is no effect in the programcode, or is that wrong?

Don't know about avr-gcc in particular, but if the compiler
produces re-entrant code anyway, then the pragma would likely not
have any effect. A function that only does some computation based
on its parameters would in all likelihood result in re-entrant code.

Wikipedia has a good explanation:
<http://en.wikipedia.org/wiki/Reentrant_(subroutine)>
--
Pertti


_______________________________________________
AVR-chat mailing list
AVR-chat@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to