~raof/mir/maybe-fix-deadlocking-mesa-test

Viewing all changes in revision 3654.

  • Committer: Christopher James Halse Rogers
  • Date: 2016-08-18 02:18:45 UTC
  • Revision ID: christopher.halse.rogers@canonical.com-20160818021845-r9zxgsznfd16blef
Ensure the mt::Signal lives at least as long as any callback runnning on the MainLoop.

This is (a) obviously more correct, and (b) *seems* to resolve a crazy deadlock where
the test blocks indefinitely waiting on a lock to be taken by
std::condition_variable::notify_all().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: