Greetings,

What would happen if scheduled timer fires (Timer.fired event) OR message is
rececied (Receive.receive event) while current _sync_ event is being
executed?

I believe following would happen,
"Because current event is of type _sync_, it executes in _task_ context,
which is non-preemptive in TinyOS, it will run to completion while other
events (e.g. timer and message received) would be put pending (somehow).
Once current event completes execution, other pending events (based on
scheduling policy) would get executed."

Please correct me if I'm wrong!!


Thanks,
JD
---------------------------
Love All, Serve All
----------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to