Mir

Code review comment for lp://qastaging/~alan-griffiths/mir/keep-helgrind-happy

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think I found the real issue. The mutex obviously needs to live longer than the lambda that's locking/unlocking it. But that's not guaranteed because the lambda runs in a different thread. Using static provides the guarantee, but it's a bit of a hack. I'll try to propose a more correct solution.

« Back to merge proposal