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))
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help