Made initial implementation of the thread scheduler, refactor Svc to avoid passing many arguments
This commit is contained in:
parent
598d1fd3ae
commit
f68696dc4a
19 changed files with 740 additions and 252 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue