OpenBarnyard
Loading...
Searching...
No Matches
TSemaphore_Win.h
Go to the documentation of this file.
1
#pragma once
2
3
TOSHI_NAMESPACE_START
4
5
class
TSemaphore
6
{
7
public
:
8
TSemaphore
() =
default
;
9
~TSemaphore
();
10
11
public
:
12
TBOOL
Create
(
TINT
a_iInitCount,
TINT
a_iMaxCount );
13
TBOOL
Destroy
();
14
TBOOL
Signal
();
15
TBOOL
Wait
();
16
TBOOL
Poll
();
17
18
private
:
19
void
* m_hSemaHnd;
20
};
21
22
TOSHI_NAMESPACE_END
TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_START
Definition
Defines.h:47
TOSHI_NAMESPACE_END
#define TOSHI_NAMESPACE_END
Definition
Defines.h:50
TINT
int TINT
Definition
Typedefs.h:7
TBOOL
bool TBOOL
Definition
Typedefs.h:6
TSemaphore::Signal
TBOOL Signal()
Definition
TSemaphore_Win.cpp:30
TSemaphore::Create
TBOOL Create(TINT a_iInitCount, TINT a_iMaxCount)
Definition
TSemaphore_Win.cpp:41
TSemaphore::Destroy
TBOOL Destroy()
Definition
TSemaphore_Win.cpp:36
TSemaphore::Wait
TBOOL Wait()
Definition
TSemaphore_Win.cpp:24
TSemaphore::~TSemaphore
~TSemaphore()
Definition
TSemaphore_Win.cpp:14
TSemaphore::TSemaphore
TSemaphore()=default
TSemaphore::Poll
TBOOL Poll()
Definition
TSemaphore_Win.cpp:19
D:
_dev
OpenBarnyard
Source
Toshi
Source
Platform
Windows
TSemaphore_Win.h
Generated by
1.13.2