| 416 | |
| 417 | public: |
| 418 | AE_NO_TSAN Semaphore(int initialCount = 0) : m_hSema() |
| 419 | { |
| 420 | assert(initialCount >= 0); |
| 421 | const long maxLong = 0x7fffffff; |
| 422 | m_hSema = CreateSemaphoreW(nullptr, initialCount, maxLong, nullptr); |
| 423 | assert(m_hSema); |
| 424 | } |
| 425 | |
| 426 | AE_NO_TSAN ~Semaphore() |
| 427 | { |
nothing calls this directly
no outgoing calls
no test coverage detected