ランタイム
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Semaphore.h
Go to the documentation of this file.
1
#pragma once
2
5
6
#include "
Mix/Noncopyable.h
"
7
8
namespace
Mix
{
9
12
class
_MIX_DLL_API
Semaphore
:
public
Mix::Noncopyable
13
{
14
private
:
15
HANDLE m_hSema;
16
17
public
:
22
Semaphore
(
UInt32
initCount = 0,
UInt32
maxCount = 1 );
24
~
Semaphore
(
void
);
25
30
Boolean
Reduce(
UInt32
timeOut = INFINITE );
31
34
void
Increase(
UInt32
count = 1 );
35
38
HANDLE GetHandle(
void
)
const
;
39
};
40
41
}
Mix::Noncopyable
コピー禁止クラス
Definition:
Noncopyable.h:10
UInt32
unsigned int UInt32
符号無し32ビット整数
Definition:
Common.h:68
Mix
ミックス
Definition:
AtomicValue.h:6
Mix::Semaphore
セマフォクラス
Definition:
Semaphore.h:12
Noncopyable.h
コピー禁止クラスインクルードファイル
Boolean
BOOL Boolean
32ビットブーリアン
Definition:
Common.h:102
_MIX_DLL_API
#define _MIX_DLL_API
DLLインポート定義
Definition:
Common.h:38
Mix
Semaphore.h
Generated on Mon Mar 21 2016 10:58:26 for ランタイム by
1.8.9.1