[Tinyos-devel] AMSend.cancel command clarification request

Andreas Koepke koepke at tkn.tu-berlin.de
Thu Mar 15 10:21:08 PDT 2007


[...]
> Hm. I'm wondering if signaling sendDone from the cancel() command is 
> problematic. It breaks one of the programming hints. The other option 
> is to keep a bitmask of which packets are cancelled, post a task, and 
> cycle through the mask.

ok - done using the bit mask and the deferred signal via a task. I know
that at leats I have a problem with the race conditions introduced when
sendDone is signalled from inside a command. So I better not confuse all
other guys...

Best, Andreas



More information about the Tinyos-devel mailing list