OpenBarnyard
 
Loading...
Searching...
No Matches
TSemaphore_Win.h
Go to the documentation of this file.
1#pragma once
2
4
6{
7public:
8 TSemaphore() = default;
10
11public:
12 TBOOL Create( TINT a_iInitCount, TINT a_iMaxCount );
13 TBOOL Destroy();
14 TBOOL Signal();
15 TBOOL Wait();
16 TBOOL Poll();
17
18private:
19 void* m_hSemaHnd;
20};
21
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
int TINT
Definition Typedefs.h:7
bool TBOOL
Definition Typedefs.h:6
TBOOL Create(TINT a_iInitCount, TINT a_iMaxCount)
TSemaphore()=default