feat(thread): implement SThread::Create for windows

This commit is contained in:
fallenoak 2022-12-28 20:03:31 -06:00 committed by GitHub
parent 4dbfb0b3be
commit db87a5d782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 6 deletions

View file

@ -9,7 +9,7 @@
#include "storm/thread/SThread.hpp"
#include <cstdint>
int32_t SCreateThread(uint32_t (*threadProc)(void*), void* threadParam, void* a3, SThread* syncObject, const char* threadName);
void* SCreateThread(uint32_t (*threadProc)(void*), void* threadParam, void* a3, SThread* syncObject, const char* threadName);
uintptr_t SGetCurrentThreadId();