On Mar 2, 2007, at 6:25 AM, Min Guo wrote:
Anyone knows how the scheduler schedule multiple function calls? E.g. in the RealMainP component, while Boot.booted() is signaled, the Boot.booted() events in the connected components will be executed, but how? - Since there is only one thread, are they executed in a liner sequence? What is the scheduler's mechanism to manage this?
In nesC lingo, this is called "fan-out." The TinyOS programming manual goes into the details. The nesC paper is also a good reference. The short answer is that they are executed one-by-one. The tricky part is the return value.
Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
