mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-09-03 00:46:26 -05:00
Made initial implementation of the thread scheduler, refactor Svc to avoid passing many arguments
This commit is contained in:
@@ -6,9 +6,16 @@ namespace Ryujinx.OsHle.Handles
|
||||
{
|
||||
public AThread Thread { get; private set; }
|
||||
|
||||
public HThread(AThread Thread)
|
||||
public int ProcessorId { get; private set; }
|
||||
public int Priority { get; private set; }
|
||||
|
||||
public int ThreadId => Thread.ThreadId;
|
||||
|
||||
public HThread(AThread Thread, int ProcessorId, int Priority)
|
||||
{
|
||||
this.Thread = Thread;
|
||||
this.Thread = Thread;
|
||||
this.ProcessorId = ProcessorId;
|
||||
this.Priority = Priority;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user