chore(build): migrate to system lib

This commit is contained in:
fallenoak 2020-12-02 20:04:02 -06:00
parent aa616b75b5
commit 6ac442e473
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
16 changed files with 54 additions and 60 deletions

View file

@ -2,12 +2,12 @@
#include "storm/Thread.hpp"
int32_t SThread::Create(uint32_t (*threadProc)(void*), void* param, SThread& thread, char* threadName, uint32_t a5) {
#if defined(WHOA_PLATFORM_WIN)
#if defined(WHOA_SYSTEM_WIN)
// TODO implement
return 0;
#endif
#if defined(WHOA_PLATFORM_MAC) || defined(WHOA_PLATFORM_LINUX)
#if defined(WHOA_SYSTEM_MAC) || defined(WHOA_SYSTEM_LINUX)
thread.m_int0 = 5;
thread.m_value = 0;
pthread_cond_init(&thread.m_cond, nullptr);