Regarding C and spontaneous: these are nesc specific attributes. Check the nesc manual (section 10.3) for details. The URL is http://nescc.cvs.sourceforge.net/*checkout*/nescc/htdocs/papers/nesc-ref.p df?revision=1.1.1.1
Signal and interrupt are gcc attributes. There are explained at http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/Function-Attributes.html Janos -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jiwen zhang Sent: Thursday, November 08, 2007 7:27 PM To: [email protected] Subject: [Tinyos-help] Fwd: "__attribute__ ((signal, spontaneous,C))" and " __attribute__ ((interrupt, spontaneous, C))" Hello all: I have some question about the codes below: 1. what are the functions of "__attribute__ ((signal, spontaneous, C))" and " __attribute__ ((interrupt, spontaneous, C))"? 2.what are the meanings of "singanl","spontaneous","C" and "interrupt"? 3.what are the differences between "__attribute__ ((signal, spontaneous, C))" and " __attribute__ ((interrupt, spontaneous, C))"? can you give me the answer? Thank you very much? codes: #define TOSH_SIGNAL(signame) \ void signame() __attribute__ ((signal, spontaneous, C)) #define TOSH_INTERRUPT(signame) \ void signame() __attribute__ ((interrupt, spontaneous, C)) No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
