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

Method exec

source/src/scriptinterpreter.cpp:816–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814{
815 QiFunc_exit() : QiFunc(0) {}
816 QiVar exec(const std::vector<QiVar>&, QiScriptInterpreter* inter) const override
817 {
818 inter->thisMutex()->lock();
819 QiWorker* worker = inter->worker();
820 if (worker) worker->m_stop = true;
821 inter->thisMutex()->unlock();
822 return static_cast<bool>(worker);
823 }
824};
825/*
826int max

Callers

nothing calls this directly

Calls 4

thisMutexMethod · 0.80
lockMethod · 0.45
workerMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected