[Tinyos-devel] Queues with remove(element), isEnqueued(element), and other commands

Hugo Sousa hcsousa at gmail.com
Fri Jun 22 16:44:59 PDT 2007


Hello tinyos devel team

I would like to know what to do think of this suggestion. I've been
using modified queue-type components in some applications, I find them
 very useful, as they provide both queue and simple list
functionality.

For example, with RoundRobinResourceQueueC, since it uses only one bit
per client (like a check box), the command remove(element) would allow
a checklist funcionality.

I think QueueC and the new FifoQueueC would also gain with
remove(element) and isEnqueued(element) commands, useful for priority
removal from queue (for example, that's what I use it for). FifoQueueC
already has the reset() command, very useful, but the others don't.

What do you think?

Best regards
Hugo Sousa


More information about the Tinyos-devel mailing list