Loki
0.1.7
|
#include <LevelMutex.h>
Undoes actions by MultiLock if an exception occurs. It keeps track of which mutexes in a container got locked, and if an exception occurs, then the destructor unlocks them. If MultiLock succeeds, then it cancels the undoer so nothing gets unlocked inadvertently.