Fix/Workaround teardown problem in cppdb feature branch


#1

Hi,

I have noticed some problem in the cppdb branch (at least) in
combination with
the inband code.

when the usrp instances are destructed, the vector holding the
daughterboard
instances is destructed as well, but there seems to be some problem
doing the
destruction in the right order. Symptoms are: a) deadlock in the inband
examples, b) gdb stopping in siglongjmp, c) valgrind reporting accesses
to
already freed memory.

The attached small patch fixes this problem.

Stefan


#2

On Wed, Oct 08, 2008 at 04:40:59PM +0200, Stefan Brüns wrote:

The attached small patch fixes this problem.
Stefan

Thanks. FYI, I reworking a lot of this in a dev branch right now.

Eric


Stefan Brüns / Bergstraße 21 / 52062 Aachen
mailto:lurch at gmx.li http://www.kawo1.rwth-aachen.de/~lurchi/
phone: +49 241 53809034 mobile: +49 151 50412019