Actually after reading the in Timer interface, invoking call Timer.startOneShot(55); call Timer.startOneShot(66);
will cause only the second command to shoot: The same will probably happen with my own interface. Arik On Fri, Feb 26, 2010 at 12:42, Arik Sapojnik <sapoj...@gmail.com> wrote: > Hmm... That makes sense. > But how can I know whether this is a split-phase or a blocking interface? > Because if I need something like this: > > external int var; > event void Boot.booted(){ > var = 10; > call MyInterface.DoSomething(var); > > var = 20; > call MyInterface.DoSomething(var); > ... > } > > Will it copy the correct values or use var=20 in both cases? > Actually I don't know the answer regarding the Timer interface either... > > Arik > > > > > > On Fri, Feb 26, 2010 at 10:59, AKHILA S RAO > <akhila...@ece.iisc.ernet.in>wrote: > >> just as you can do >> event Boot.booted() >> { call Timer.startOneShot(55); >> call Timer.startOneShot(66); >> } >> >> i think you can do what you mentioned as well >> >> >> >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > > > -- > Best Regards, > Arik Sapojnik > -- Best Regards, Arik Sapojnik
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help