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

Function unlockGrids

plugins/rendermax/rendermax.cpp:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 r->dataMutex.lock();
106}
107static void unlockGrids()
108{
109 if(current_mode!=MODE_LUA)
110 return ;
111 renderer_lua* r=reinterpret_cast<renderer_lua*>(enabler->renderer);
112 r->dataMutex.unlock();
113}
114static void resetGrids()
115{
116 if(current_mode!=MODE_LUA)

Callers 1

rendermaxFunction · 0.85

Calls 1

unlockMethod · 0.45

Tested by

no test coverage detected