ランタイム
Semaphore.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include "Mix/Noncopyable.h"
7 
8 namespace Mix{
9 
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 }
コピー禁止クラス
Definition: Noncopyable.h:10
unsigned int UInt32
符号無し32ビット整数
Definition: Common.h:68
ミックス
Definition: AtomicValue.h:6
セマフォクラス
Definition: Semaphore.h:12
コピー禁止クラスインクルードファイル
BOOL Boolean
32ビットブーリアン
Definition: Common.h:102
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38