Async commands can preempt each other. If you could call sync commands
from async context then sync commands could preempt each other.

Ali

On Sun, Jun 6, 2010 at 8:25 PM, Xiaohui Liu <[email protected]> wrote:
> Actually, the question raised after I read the pages you pointed out. I'm
> having difficulty from the statement "As a result, an async command or
> event....". Maybe I'm missing something critical, would you please give me
> some hint why "As a result" holds because I really do not see a causal
> relationship here? Thanks for your patience.
>
> On Sat, Jun 5, 2010 at 3:23 PM, Ali Baharev <[email protected]> wrote:
>>
>> Hi,
>>
>> Just re-read pages 192-193, The async keyword, in the TinyOS
>> Programming book, the answer is there.
>>
>> Ali
>>
>> On Sat, Jun 5, 2010 at 8:24 PM, Xiaohui Liu <[email protected]> wrote:
>> > Hi,
>> >
>> > why sync command or event cannot be called from async command or event?
>> > Vice
>> > versa, can async command or event be called from sync command or event?
>> >
>> > --
>> > -Xiaohui Liu
>> >
>> > _______________________________________________
>> > Tinyos-help mailing list
>> > [email protected]
>> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>
>
>
> --
> -Xiaohui Liu
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to