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

Method lock

library/include/Core.h:457–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455 CoreSuspender(Core& core, std::defer_lock_t d) : CoreSuspenderBase{ core } {}
456
457 void lock()
458 {
459 inc_tool_count();
460 parent_t::lock();
461 }
462
463 bool try_lock()
464 {

Callers 13

InitSimulationThreadMethod · 0.45
prompt_loopMethod · 0.45
begin_batchMethod · 0.45
lineeditMethod · 0.45
prompt_loopMethod · 0.45
begin_batchMethod · 0.45
hotkey_thread_fnMethod · 0.45
lockGridsFunction · 0.45
reconnectMethod · 0.45
sharedsignalFunction · 0.45
memviewFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected