MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / clearMutex

Method clearMutex

source/src/scriptinterpreter.h:1156–1156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154 static void clearGlobal() { std::unique_lock<std::mutex> lock(globalVariablesMutex); globalVariables.clear(); }
1155 void clearFunc() { std::unique_lock<std::mutex> lock(customFunctionsMutex); customFunctions.clear(); }
1156 static void clearMutex() { mutex.clean_up(); }
1157 void clearProperty() { std::unique_lock<std::mutex> lock(this_mutex); propertys.clear(); }
1158 static void clearSaved() { std::unique_lock<std::mutex> lock(savedVariables_Mutex); savedVariables.clear(); savedVariables_Save = true; savedVariables_Condition.notify_all(); }
1159

Callers

nothing calls this directly

Calls 1

clean_upMethod · 0.80

Tested by

no test coverage detected