hi all,

      i created a dynamic thread. (Similar to Blink_DynamicThreads) but when i 
use DynamicThread.destroy(thread_id*) 
 the thread does not stop.

here is how i do it

//sample code
event void Boot.booted()
  {
    i=0;
    call MilliTimer.startPeriodic(5000);
    call DynamicThread.create(&blink1, blink_thread, NULL, 500);
    
  }

event void MilliTimer.fired() {
    call DynamicThread.destroy(&blink1);
}



am i doing something wrong? can someone help me in this?

thanks for any help

ranal
                                          
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to