[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] Timer.fired
Joe Polastre
joe.polastre at gmail.com
Thu May 19 23:41:54 PDT 2005
No, an interrupt occurs, the Timer says "we haven't missed anything"
and now the result is bad. You're operating under the assumption that
Phil and I know the line by line code details of the Timer (which I
certainly will never quite understand), whereas we're just trying to
point out the potential for some pretty nasty race conditions.
-Joe
On 5/19/05, Cory Sharp <cory.sharp at gmail.com> wrote:
> On 5/19/05, Joe Polastre <joe.polastre at gmail.com> wrote:
> > Except if an underlying interrupt occurred from an Alarm while I was
> > asking (in task context) how many timers I missed.
>
> I don't understand. What are you and Phil thinking is going to happen
> in this case that's bad? An interrupt occurs and another task is
> posted...
>
> Cory
>
_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
More information about the Tinyos-host-mote-wg
mailing list