Dear All

Here's a question about scheduling of TinyOS:
Event handler can preempt CPU from task, that's definite,
but how about an event handler preempt another event handler?
E.g. handler1 has 3 steps 11,12,13 while handler2 has 3 steps 21,22,23
respectively.
Handler 1 execute first and goest to 11, 12, while suddenly handler2 is
triggered by an interrupt?
What happens? from my understanding it should be: 11, 12, *21, 22, 23*, 13
Is that true?

b.t.w., which module of tinyos core implement the scheduling algorithm for
event handlers?

Many thanks.

--
Regards,
Benjamin (Bin) Lei (雷斌)
Department of Computer Science and Technology, Nanjing University
Tel: 8625-83594683
Cell: 86-13813909880
Addr.: Room 508, Mengmingwei Bldg, Nanjing Univeristy, Nanjing, P.R.C.210093
E-mail : [EMAIL PROTECTED]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to