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