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

tos_thread_t thread;
...

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

event void Boot.booted(){

       uint16_t params;

       ...

       call DynamicThread.create(&thread, execute, &params, 500);
}
...

No
packets are 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