mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(thread): add SSemaphore
This commit is contained in:
parent
83cd9b05c0
commit
6437796094
3 changed files with 29 additions and 0 deletions
13
storm/thread/SSemaphore.hpp
Normal file
13
storm/thread/SSemaphore.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef STORM_THREAD_S_SEMAPHORE_HPP
|
||||
#define STORM_THREAD_S_SEMAPHORE_HPP
|
||||
|
||||
#include "storm/thread/SSyncObject.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class SSemaphore : public SSyncObject {
|
||||
public:
|
||||
// Member functions
|
||||
SSemaphore(uint32_t initialCount, uint32_t maximumCount);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue