-
Committer:
knielsen at knielsen-hq
-
Date:
2012-02-13 16:14:10 UTC
-
Revision ID:
knielsen@knielsen-hq.org-20120213161410-9206qbjpd1f3ut3w
When we fail during slave thread initialisation, keep mi->run_lock
locked until we have finished clean up.
Previously, the code released the lock without marking that the thread
was running. This allowed a new slave thread to start while the old one
was still in the middle of cleaning up, causing assertions and probably
general mayhem.