C++ (Qt){ QMutexLocker locker(&mutex); COptions::profilerIsActive = true;...}
C++ (Qt) if(COptions::profilerIsActive) { emit profilerSig(1, vars.unitId, requestId, QDateTime::currentMSecsSinceEpoch(), vars.hasError(), queueLength()); }