mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +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
15
storm/thread/SEvent.hpp
Normal file
15
storm/thread/SEvent.hpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef STORM_THREAD_S_EVENT_HPP
|
||||
#define STORM_THREAD_S_EVENT_HPP
|
||||
|
||||
#include "thread/SSyncObject.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class SEvent : public SSyncObject {
|
||||
public:
|
||||
// Member functions
|
||||
SEvent(int32_t manualReset, int32_t);
|
||||
int32_t Reset(void);
|
||||
int32_t Set(void);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue