hi Mike,
Thanks for the reply. I tried it with DynamicThread interface. but i found out that it is also not working. but when i just have one blinking thread does that become the tinyosthread? because when i went to the stopthread routine there it checks whether the thread state is TOSTHREAD_STATE_READY (which is not running according to thread.h) but this thread is TOSTHREAD_STATE_ACTIVE ( running) so because of the condition i'm not able to stop this thread. so can't we stop a running thread? can you please help me in this? thank you very much & sorry for the trouble. ranal > Subject: Re: [Tinyos-help] TinyLD > From: [email protected] > Date: Fri, 4 Feb 2011 01:56:26 +0800 > CC: [email protected] > To: [email protected] > > Hi Ranal, > > Interesting, I didn't test this case. I don't have a mote with me now, but > can you try DynamicThread interface to pause the thread? > > Thanks > > Mike > > On Feb 3, 2011, at 7:59 AM, ranal fernando wrote: > > > > > just wondering whether anyone has any suggestions ? > > From: [email protected] > > To: [email protected] > > Date: Tue, 1 Feb 2011 15:22:08 -0500 > > Subject: [Tinyos-help] TinyLD > > > > Dear all, > > > > > > is there a way to stop or pause a thread that is created by TinyLD > > (DynamicLoader.loadFromMemory)? > > > > I tried to get the thread id from the loaddone event & stop by using > > ThreadScheduler.stopThread but it fails. > > > > > > Any idea about this? > > > > Thanks > > > > > > ranal fernando > > > > _______________________________________________ Tinyos-help mailing list > > [email protected]https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
