void QtTimer::timeoutActivated()
{ #if !(defined EMSCRIPTEN && ENABLE_QT6 && HAVE_EMSCRIPTEN_JSPI && !HAVE_EMSCRIPTEN_PROXY_TO_PTHREAD) //TODO: While the special Emscripten Qt6 JSPI/non-PROXY_TO_PTHREAD mode doesn't lock the // SolarMutex here, but only when calling pTask->Invoke() in Scheduler::CallbackTaskScheduling, // that looks too brittle in general, so treat that special mode specially here.
SolarMutexGuard aGuard; #endif if (Application::IsUseSystemEventLoop())
{ const ImplSVData* pSVData = ImplGetSVData();
assert(pSVData && pSVData->mpDefInst); static_cast<QtInstance*>(pSVData->mpDefInst)->DispatchUserEvents(true);
}
CallCallback();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.