[Tinyos-devel] Re: [Tinyos Core WG] Proposal for VariableSizedQueueC component

Philip Levis pal at cs.stanford.edu
Wed Sep 19 14:50:08 PDT 2007


On Sep 19, 2007, at 11:51 AM, Kevin Klues wrote:

> I was revising the implementation of printf, and wanted to use a queue
> to store the characters coming in via calls to printf.  Bytes get
> periodically flushed out of the queue, but only on synchrounous
> boundaries.  Depending on the number of characters you want to print
> in asynchronous context before printf has a chance to flush them, you
> may want to increase the size of the buffer beyond 256 bytes.

I'll admit, I was wondering (along with Om, it seems) exactly what  
needed a queue of more than 255 elements!

Phil


More information about the Tinyos-devel mailing list