feat(thread): implement SCreateThread for Linux

This commit is contained in:
fallenoak 2022-12-28 21:07:31 -06:00 committed by GitHub
parent db87a5d782
commit 9475df632d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 92 additions and 1 deletions

View file

@ -30,7 +30,17 @@ class S_Thread {
static SThreadTrack s_threads[1024];
// Static functions
#if defined(WHOA_SYSTEM_WIN)
static uint32_t s_SLaunchThread(void* threadParam);
#endif
#if defined(WHOA_SYSTEM_MAC)
static uint32_t s_SLaunchThread(void* threadParam);
#endif
#if defined(WHOA_SYSTEM_LINUX)
static void* s_SLaunchThread(void* threadParam);
#endif
};
#endif