mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 12:47:51 +02: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