MCPcopy Create free account
hub / github.com/DFHack/dfhack / RefAutolock

Method RefAutolock

library/PluginManager.cpp:134–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132{
133 RefLock * lock;
134 RefAutolock(RefLock * lck):lock(lck){ lock->lock(); };
135 ~RefAutolock(){ lock->unlock(); };
136};
137

Callers

nothing calls this directly

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected