2018-02-05 00:08:20 +01:00
|
|
|
using ChocolArm64;
|
|
|
|
|
2018-02-20 21:09:23 +01:00
|
|
|
namespace Ryujinx.Core.OsHle.Handles
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
2018-03-19 19:58:46 +01:00
|
|
|
class KThread : KSynchronizationObject
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
|
|
|
public AThread Thread { get; private set; }
|
|
|
|
|
2018-02-14 03:43:08 +01:00
|
|
|
public int ProcessorId { get; private set; }
|
2018-02-25 19:58:16 +01:00
|
|
|
public int Priority { get; set; }
|
2018-02-14 03:43:08 +01:00
|
|
|
|
|
|
|
public int ThreadId => Thread.ThreadId;
|
|
|
|
|
2018-03-19 19:58:46 +01:00
|
|
|
public KThread(AThread Thread, int ProcessorId, int Priority)
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
2018-02-14 03:43:08 +01:00
|
|
|
this.Thread = Thread;
|
|
|
|
this.ProcessorId = ProcessorId;
|
|
|
|
this.Priority = Priority;
|
2018-02-05 00:08:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|