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

Method Create

Source/Engine/Platform/Win32/Win32Thread.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62Win32Thread* Win32Thread::Create(IRunnable* runnable, const String& name, ThreadPriority priority, uint32 stackSize)
63{
64 auto result = New<Win32Thread>(runnable, name, priority);
65 if (result->Start(stackSize))
66 {
67 SAFE_DELETE(result);
68 }
69
70 return result;
71}
72
73bool Win32Thread::Start(uint32 stackSize)
74{

Callers

nothing calls this directly

Calls 1

StartMethod · 0.45

Tested by

no test coverage detected