Hi Jinliang, Atomic blocks in tinyos are a way of disabling interrupts for the scope of the atomic block. Atomic blocks cannot be preempted.
Best, Martin On Thu, Jun 17, 2010 at 6:29 AM, Manjunath Doddavenkatappa < dodda...@comp.nus.edu.sg> wrote: > > For example, "signal ReceiveMsg.receive()" would > immediatly execute > ReceiveMsg.receive() as if it is just a function call. This is independent > of whether interrupts are enabled/disabled. > > Manjunath D > > ################################################################################################################ > > *************************************************************************************************************** > > On Wed, 16 Jun 2010, Jinliang, Wei wrote: > > > Suppose there is no interruption/or all commands are within an atomic > > block, if events are signaled, are they executed right away, or are they > > executed somewhere in future? > > > > Thanks. > > > > Jinliang, Wei > > _______________________________________________ > > Tinyos-help mailing list > > Tinyos-help@millennium.berkeley.edu > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help