hi all,
   I'm currently having problems with using blocking send and dynamic threads 
together. Consider the following partial-pseudo code:

...

void execute(void *arg){
      call BlockingAMControl.start();
      ...
      call BlockingAMSend.send(...);
}

event void Boot.booted(){
       create_dynamic_thread(&thread, execute, &params, 500);
}
...

No packets will be sent. However, blockingsend works well with static threads. 
I tried to use a static thread for blockingsend to wait on any message that is 
stored in a Queue with other dynamic threads putting messages in the Queue. 
This is not working too.

Anyone can enlighten me on this?

Thanks in advance!

tj



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

Reply via email to