Re: [Discuss-gnuradio] New implementation for fusb_linux without allocs/frees

2009-02-23 Thread Johnathan Corgan
On Sun, Feb 22, 2009 at 10:38 PM, Stefan Bruens stefan.bru...@rwth-aachen.de wrote: attached is a new version for fusb_linux.cc. Stefan--THANKS for all the wonderful work you've been submitting; we really appreciate the kinds of optimization work you are doing. We will likely get all of it

Re: [Discuss-gnuradio] New implementation for fusb_linux without allocs/frees

2009-02-23 Thread Eric Blossom
On Mon, Feb 23, 2009 at 07:38:14AM +0100, Stefan Bruens wrote: Hi, attached is a new version for fusb_linux.cc. The current implementation uses three std::list lists for free, pending and completed urbs, so submitting a single urb causes three allocs and three frees (pushing and

[Discuss-gnuradio] New implementation for fusb_linux without allocs/frees

2009-02-22 Thread Stefan Bruens
Hi, attached is a new version for fusb_linux.cc. The current implementation uses three std::list lists for free, pending and completed urbs, so submitting a single urb causes three allocs and three frees (pushing and popping of the list). The new implementation uses a circular list for the