mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(thread): implement SCreateThread for Linux
This commit is contained in:
parent
db87a5d782
commit
9475df632d
3 changed files with 92 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue