On Fri, 11 Oct 2002, Hemant Kumar wrote: > Greetings, > > I had a couple of questions on task and event scheduling. > > 1) How does the interrupt mechanism for an event work? Where is the code > which actually does interrupt handling i.e. saves task state, call event > handlers and after the event handler is done, get the task back on. All I > see in MAIN is the task scheduling routine (with no event handling).
I think this is handled through the libc. Check http://www.enteract.com/~rneswold/avr/ the section interrupt routines. > > 2) Why in MAIN are there 2 nop after sleep (task scheduling code) ? Good question. > > 3) Tossim seems to execute tasks and commands instantaneously i.e. unlike > real motes task are not interrupted in TOSSIM. The tossim manual says that > this would be fixed sometime soon. Is there a timeline on this ? I would like to know that as well. Mads -- +----------------------------------------------------------------------+ | Mads Bondo Dydensborg. http://www.diku.dk/users/madsdyd | | +45 35 32 14 18 | +----------------------------------------------------------------------+ _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
