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

Kevin Klues klueska at gmail.com
Wed Sep 19 11:51:39 PDT 2007


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.

Kevin

On 9/19/07, Omprakash Gnawali <gnawali at usc.edu> wrote:
>
> > On Sep 18, 2007, at 10:22 PM, Kevin Klues wrote:
> >
> > > I have no problem with this at all..... I just came across the need
> > > for a bigger queue and was trying to come up with a general way of
> > > creating one.
> >
> > Well, it would also be good to hear what other people think; I know
> > that sometimes we over-generalize and go to too many layers of
> > indirection. Let's talk about it on the call today.
> >
> > Phil
>
> Large queue/pool does not seem like a normal case. I would be
> interested in hearing more about the reason why you needed a large
> queue.
>
> - om_p
>
>


-- 
~Kevin


More information about the Tinyos-devel mailing list