hello

I've shown in the archive list that when programming with tinyos, or  
tossim , we must prefer tasks rather than command or event and that  
command or event must be short contrary to what it said in the tinyos  
programming manual?

So, what is the thruth? And what is the concurrency model?

The following is it right? :

  - an event can interrupt an event
  - an event can not interrupt  a task and
  - a tasks can be only interrupted by a hardware interrupt

Does a command can be interrupted by an event?

For example, if I receive a message of type1 (Receive.receive) I  
signal an event and I execute the treatment1. If I receive a message  
of type2 during the execution of treatment1 does the message arrival  
interrupt the execution?

best regards

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to