mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(thread): add thread functions
This commit is contained in:
parent
d0487caba3
commit
266bdc7737
16 changed files with 523 additions and 0 deletions
13
storm/thread/SThread.hpp
Normal file
13
storm/thread/SThread.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef STORM_THREAD_S_THREAD_HPP
|
||||
#define STORM_THREAD_S_THREAD_HPP
|
||||
|
||||
#include "thread/SSyncObject.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class SThread : public SSyncObject {
|
||||
public:
|
||||
// Static functions
|
||||
static int32_t Create(uint32_t (*threadProc)(void*), void* param, SThread& thread, char* threadName, uint32_t a5);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue