Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qeventdispatcher_wasm.cpp File Reference

(a5bdb2128e4dc5014d5753840f84b815a0486c06)

#include "qeventdispatcher_wasm_p.h"
#include <QtCore/private/qabstracteventdispatcher_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qthread.h>
#include <QtCore/qsocketnotifier.h>
#include <QtCore/private/qstdweb_p.h>
#include "emscripten.h"
#include <emscripten/html5.h>
#include <emscripten/threading.h>
#include <emscripten/val.h>
#include "moc_qeventdispatcher_wasm_p.cpp"
+ Include dependency graph for qeventdispatcher_wasm.cpp:

Go to the source code of this file.

Macros

#define LOCK_GUARD(M)
 

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcEventDispatcher, "qt.eventdispatcher")
 
 Q_LOGGING_CATEGORY (lcEventDispatcherTimers, "qt.eventdispatcher.timers")
 
static bool useAsyncify ()
 
static bool useJspi ()
 
void qt_jspi_suspend_js ()
 
bool qt_jspi_resume_js ()
 
bool qt_jspi_can_resume_js ()
 
void qt_asyncify_suspend_js ()
 
void qt_asyncify_resume_js ()
 
bool qt_asyncify_suspend ()
 
void qt_asyncify_resume ()
 

Variables

static bool g_is_asyncify_suspended = false
 

Macro Definition Documentation

◆ LOCK_GUARD

Function Documentation

◆ Q_LOGGING_CATEGORY() [1/2]

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcEventDispatcher ,
"qt.eventdispatcher"  )

◆ Q_LOGGING_CATEGORY() [2/2]

Q_LOGGING_CATEGORY ( lcEventDispatcherTimers ,
"qt.eventdispatcher.timers"  )

◆ qt_asyncify_resume()

void qt_asyncify_resume ( )

Definition at line 176 of file qeventdispatcher_wasm.cpp.

References g_is_asyncify_suspended, and qt_asyncify_resume_js().

+ Here is the call graph for this function:

◆ qt_asyncify_resume_js()

void qt_asyncify_resume_js ( )

Definition at line 154 of file qeventdispatcher_wasm.cpp.

Referenced by qt_asyncify_resume().

+ Here is the caller graph for this function:

◆ qt_asyncify_suspend()

bool qt_asyncify_suspend ( )

Definition at line 165 of file qeventdispatcher_wasm.cpp.

References g_is_asyncify_suspended, and qt_asyncify_suspend_js().

+ Here is the call graph for this function:

◆ qt_asyncify_suspend_js()

void qt_asyncify_suspend_js ( )

Definition at line 149 of file qeventdispatcher_wasm.cpp.

Referenced by qt_asyncify_suspend().

+ Here is the caller graph for this function:

◆ qt_jspi_can_resume_js()

bool qt_jspi_can_resume_js ( )

Definition at line 143 of file qeventdispatcher_wasm.cpp.

◆ qt_jspi_resume_js()

bool qt_jspi_resume_js ( )

Definition at line 137 of file qeventdispatcher_wasm.cpp.

◆ qt_jspi_suspend_js()

void qt_jspi_suspend_js ( )

Definition at line 132 of file qeventdispatcher_wasm.cpp.

◆ useAsyncify()

static bool useAsyncify ( )
static

Definition at line 122 of file qeventdispatcher_wasm.cpp.

◆ useJspi()

static bool useJspi ( )
static

Definition at line 127 of file qeventdispatcher_wasm.cpp.

Variable Documentation

◆ g_is_asyncify_suspended

bool g_is_asyncify_suspended = false
static

Definition at line 37 of file qeventdispatcher_wasm.cpp.

Referenced by qt_asyncify_resume(), and qt_asyncify_suspend().