mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
WARNING!!! This revision cannot compile correctly. It is updated to reflect the many changes within the XFX project.
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
/********************************************************
|
|
* Enums.h *
|
|
* *
|
|
* System::Threading enumerations definition file *
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _SYSTEM_THREADING_ENUMS_
|
|
#define _SYSTEM_THREADING_ENUMS_
|
|
|
|
namespace System
|
|
{
|
|
namespace Threading
|
|
{
|
|
/// <summary>
|
|
/// Indicates whether an System.Threading.EventWaitHandle is reset automatically or manually after receiving a
|
|
/// signal.
|
|
/// </summary>
|
|
struct EventResetMode
|
|
{
|
|
enum type
|
|
{
|
|
AutoReset,
|
|
ManualReset
|
|
};
|
|
};
|
|
|
|
/// <summary>
|
|
/// The System.Threading.Thread can be scheduled after threads with Highest priority and before those with
|
|
/// Normal priority.
|
|
/// </summary>
|
|
struct ThreadPriority
|
|
{
|
|
enum type
|
|
{
|
|
AboveNormal,
|
|
BelowNormal,
|
|
Highest = 32,
|
|
Lowest = 0,
|
|
Normal,
|
|
};
|
|
};
|
|
|
|
typedef EventResetMode::type EventResetMode_t;
|
|
typedef ThreadPriority::type ThreadPriority_t;
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_THREADING_ENUMS_
|