mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
36 lines
778 B
C++
36 lines
778 B
C++
/********************************************************
|
|
* ThreadState.h *
|
|
* *
|
|
* XFX ThreadState enumeration definition file *
|
|
* Copyright © Halofreak1990. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _THREADSTATE_
|
|
#define _THREADSTATE_
|
|
|
|
namespace System
|
|
{
|
|
namespace Threading
|
|
{
|
|
struct ThreadState
|
|
{
|
|
enum type
|
|
{
|
|
Running = 0x00000000,
|
|
StopRequested = 0x00000001,
|
|
SuspendRequested = 0x00000002,
|
|
Background = 0x00000004,
|
|
Unstarted = 0x00000008,
|
|
Stopped = 0x00000010,
|
|
WaitSleepJoin = 0x00000020,
|
|
Suspended = 0x00000040,
|
|
AbortRequested = 0x00000080,
|
|
Aborted = 0x00000100
|
|
};
|
|
};
|
|
|
|
typedef ThreadState::type ThreadState_t;
|
|
}
|
|
}
|
|
|
|
#endif //_THREADSTATE_
|