ランタイム
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Thread.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
Thread
:
public
Mix::Noncopyable
13
{
14
private
:
15
HANDLE m_hThread;
16
UInt32
m_ID;
17
UInt32
m_SuspendCount;
18
void ( *m_pFunc )(
void
* );
19
void
* m_pArgument;
20
21
public
:
23
Thread
(
void
);
25
virtual
~
Thread
(
void
);
26
27
private
:
28
static
unsigned
__stdcall Entry(
void
* pArg );
29
30
public
:
36
Boolean
Start(
void
( *pFunc )(
void
* ),
void
* pArgument,
Boolean
bSuspend =
False
);
38
void
Join(
void
);
39
41
void
Resume(
void
);
43
void
Suspend(
void
);
46
UInt32
GetSuspendCount(
void
)
const
;
47
50
UInt32
GetID(
void
)
const
;
51
};
52
53
}
Mix::Thread
スレッドクラス
Definition:
Thread.h:12
Mix::Noncopyable
コピー禁止クラス
Definition:
Noncopyable.h:10
UInt32
unsigned int UInt32
符号無し32ビット整数
Definition:
Common.h:68
Mix
ミックス
Definition:
AtomicValue.h:6
False
#define False
Boolean型の偽値
Definition:
Common.h:108
Noncopyable.h
コピー禁止クラスインクルードファイル
Boolean
BOOL Boolean
32ビットブーリアン
Definition:
Common.h:102
_MIX_DLL_API
#define _MIX_DLL_API
DLLインポート定義
Definition:
Common.h:38
Mix
Thread.h
Generated on Mon Mar 21 2016 10:58:26 for ランタイム by
1.8.9.1