MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetCurrentThreadID

Function GetCurrentThreadID

Source/Engine/Platform/Web/WebPlatform.h:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 static void Free(void* ptr);
105#endif
106 FORCE_INLINE static uint64 GetCurrentThreadID()
107 {
108#ifdef __EMSCRIPTEN_PTHREADS__
109 return (uint64)pthread_self();
110#else
111 return 1;
112#endif
113 }
114 static String GetSystemName();
115 static Version GetSystemVersion();
116 static CPUInfo GetCPUInfo();

Callers 7

GetThreadHandleImplFunction · 0.50
BeginEventMethod · 0.50
OnInitMethod · 0.50
ThreadLocalClass · 0.50
IsInMainThreadFunction · 0.50
RunMethod · 0.50
ExitMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected