Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qeventdispatcher_wasm.cpp File Reference
#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 ()
 
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

#define LOCK_GUARD (   M)

Definition at line 29 of file qeventdispatcher_wasm.cpp.

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 149 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 127 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 138 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 122 of file qeventdispatcher_wasm.cpp.

Referenced by qt_asyncify_suspend().

+ Here is the caller graph for this function:

◆ useAsyncify()

static bool useAsyncify ( )
static

Definition at line 117 of file qeventdispatcher_wasm.cpp.

Variable Documentation

◆ g_is_asyncify_suspended

bool g_is_asyncify_suspended = false
static

Definition at line 36 of file qeventdispatcher_wasm.cpp.

Referenced by qt_asyncify_resume(), and qt_asyncify_suspend().