Re: [Tinyos-help] TosThreads Thread.pause and Thread.resume not working

2011-02-04 Thread Chieh-Jan (Mike) Liang
: [Tinyos-help] TosThreads Thread.pause and Thread.resume not working Hi David, Someone forwarded me a copy of my email, and this was my response to him: That fix is correct, but it brings up a point about why stop wasn't even stopping the thread. I looked through the code, and the issue is

Re: [Tinyos-help] TosThreads Thread.pause and Thread.resume not working

2011-02-04 Thread Kevin Klues
Hi David, Someone forwarded me a copy of my email, and this was my response to him: That fix is correct, but it brings up a point about why stop wasn't even stopping the thread. I looked through the code, and the issue is that stop() only works correctly if it is called by a thread that is NOT t

[Tinyos-help] TosThreads Thread.pause and Thread.resume not working

2011-01-18 Thread David Rodda
Hi I am using the latest TInyos 2.x from Subersion, on a Shimmer (MSP430) mote. I am experiencing unexpected behaviour using the Thread.pause() and Thread,resume() functions when using TosThreads. My understanding is that when Thread.pause() is called from within a thread it should sleep, until