feat(thread): add thread functions

This commit is contained in:
fallenoak 2020-09-09 00:45:46 -05:00
parent d0487caba3
commit 266bdc7737
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
16 changed files with 523 additions and 0 deletions

12
storm/Thread.hpp Normal file
View file

@ -0,0 +1,12 @@
#ifndef STORM_THREAD_HPP
#define STORM_THREAD_HPP
#include "thread/SCritSect.hpp"
#include "thread/SEvent.hpp"
#include "thread/SSyncObject.hpp"
#include "thread/SThread.hpp"
#include <cstdint>
int32_t SCreateThread(uint32_t (*threadProc)(void*), void* threadParam, void* a3, SThread* syncObject, const char* threadName);
#endif