avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] "#pragma reentrant" no effect in avr-GCC ?


From: Joerg Wunsch
Subject: Re: [avr-chat] "#pragma reentrant" no effect in avr-GCC ?
Date: Fri, 3 Oct 2008 07:55:47 +0200 (MET DST)

David Kelly <address@hidden> wrote:

> Would not be surprised if there are gcc targets which require this
> pragma.

GCC never uses pragmas except where mandated by the C standard.

If at all, it would be a function attribute.  However, als already
mentioned, GCC-compiled functions are as reentrant as the developer
designed them by default.  There are occasionally /negative/
attributes that affect reentrancy, like the new OS_main and OS_task
attributes in AVR-GCC.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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