mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
14 lines
320 B
C++
14 lines
320 B
C++
#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);
|
|
int32_t Signal(uint32_t count);
|
|
};
|
|
|
|
#endif
|