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