squall/storm/thread/SSemaphore.hpp
2021-08-09 01:03:37 -05:00

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