MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / GetOwningThread

Function GetOwningThread

system/lib/gl/webgl1.c:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59} WebGLContextHandle;
60
61static inline pthread_t GetOwningThread(EMSCRIPTEN_WEBGL_CONTEXT_HANDLE handle) {
62 return ((WebGLContextHandle*)handle)->owning_thread;
63}
64
65static inline pthread_t GetCurrentTargetThread() {
66 return GetOwningThread(emscripten_webgl_get_current_context());

Callers 2

GetCurrentTargetThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected