#pragma once #ifdef WIN32 #include #else // TODO: Support Linux threads #include #endif struct ThreadInstance { DWORD mThreadId; HANDLE mThreadHandle; }; bool initThreadInstance(ThreadInstance* instance) { instance->mThreadHandle = CreateThread(NULL, 0,, NULL, 0, NULL); } struct ThreadPool { };