2018-09-19 01:36:43 +02:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel
|
|
|
|
{
|
2018-11-28 23:18:09 +01:00
|
|
|
enum ThreadSchedState : ushort
|
2018-09-19 01:36:43 +02:00
|
|
|
{
|
2018-11-28 23:18:09 +01:00
|
|
|
LowMask = 0xf,
|
|
|
|
HighMask = 0xfff0,
|
|
|
|
ForcePauseMask = 0x70,
|
|
|
|
|
|
|
|
ProcessPauseFlag = 1 << 4,
|
|
|
|
ThreadPauseFlag = 1 << 5,
|
|
|
|
ProcessDebugPauseFlag = 1 << 6,
|
|
|
|
KernelInitPauseFlag = 1 << 8,
|
2018-09-19 01:36:43 +02:00
|
|
|
|
|
|
|
None = 0,
|
|
|
|
Paused = 1,
|
|
|
|
Running = 2,
|
|
|
|
TerminationPending = 3
|
|
|
|
}
|
|
|
|
}
|