« Previous | Next » 

Revision 7ac203b3

ID7ac203b39c126c4bdb9b2f5494052fd9eea8f21b

Added by Josh Blum about 1 year ago

usrp1: stop threads in deconstructor

Its important to stop the threads before we let
the other smart point objects naturally deconstruct
to avoid thread-based race conditions.

The attempt to deconstruct the tree and soft time ctrl
had a bug because the tree had references in subtrees
within the dboard manager class.

Rather than continue to fix this method and
deconstruct the tree to free up soft time ctrl,
it seems simpler to just stop the thread in soft time ctrl,
and then let it naturally deconstruct later by ref count.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences