On Thu, Jul 2, 2009 at 10:25 AM, Rémi Villé <[email protected]> wrote:
> 2009/7/1 sofia aparicio <[email protected]> > >> >> Hello, >> >> Could you please tell me the difference between "async event" and "event"? >> >> When a "event" is executed? >> > > I think you should look at section "4.5 Concurrency" of TinyOS Programming > -> http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf > > I'm not really sure, but I think async event is a hardware or deep system > event which can preempt any other running task of your application. > In practice async stuff typically is generated from a h/w interrupt. Labeling a command or event async tells the compiler that it is callable from that context. The compiler uses this information to check references to data cells and yells if a data cell is accessed from different contexts. eric > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher Autonomous Systems Lab Jack Baskin School of Engineering UCSC
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
