[Tinyos-help] Difference between "async event" and "event"
Eric Decker
cire831 at gmail.com
Thu Jul 2 10:39:28 PDT 2009
On Thu, Jul 2, 2009 at 10:25 AM, Rémi Villé <ville.remi at gmail.com> wrote:
> 2009/7/1 sofia aparicio <apariciosofia at hotmail.com>
>
>>
>> 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
> Tinyos-help at millennium.berkeley.edu
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090702/7ee62f66/attachment.htm
More information about the Tinyos-help
mailing list