2018-02-04 18:08:20 -05:00
|
|
|
using ChocolArm64;
|
|
|
|
|
2018-02-20 15:09:23 -05:00
|
|
|
namespace Ryujinx.Core.OsHle.Handles
|
2018-02-04 18:08:20 -05:00
|
|
|
{
|
2018-02-20 15:09:23 -05:00
|
|
|
public class HThread
|
2018-02-04 18:08:20 -05:00
|
|
|
{
|
|
|
|
public AThread Thread { get; private set; }
|
|
|
|
|
2018-02-13 21:43:08 -05:00
|
|
|
public int ProcessorId { get; private set; }
|
2018-02-25 13:58:16 -05:00
|
|
|
public int Priority { get; set; }
|
2018-02-13 21:43:08 -05:00
|
|
|
|
|
|
|
public int ThreadId => Thread.ThreadId;
|
|
|
|
|
|
|
|
public HThread(AThread Thread, int ProcessorId, int Priority)
|
2018-02-04 18:08:20 -05:00
|
|
|
{
|
2018-02-13 21:43:08 -05:00
|
|
|
this.Thread = Thread;
|
|
|
|
this.ProcessorId = ProcessorId;
|
|
|
|
this.Priority = Priority;
|
2018-02-04 18:08:20 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|