aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/Threading/ThreadSchedState.cs
blob: c9eaa6b33391b8e3ecacb9429944e269f6eeb768 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Ryujinx.HLE.HOS.Kernel.Threading
{
    enum ThreadSchedState : ushort
    {
        LowMask        = 0xf,
        HighMask       = 0xfff0,
        ForcePauseMask = 0x70,

        ProcessPauseFlag      = 1 << 4,
        ThreadPauseFlag       = 1 << 5,
        ProcessDebugPauseFlag = 1 << 6,
        KernelInitPauseFlag   = 1 << 8,

        None               = 0,
        Paused             = 1,
        Running            = 2,
        TerminationPending = 3
    }
}