C# Class CSPspEmu.Hle.Managers.HleThreadManager

Inheritance: CSPspEmu.Core.PspEmulatorComponent, IDisposable
Afficher le fichier Open project: soywiz/cspspemu Class Usage Examples

Méthodes publiques

Свойство Type Description
CoroutinePool CSharpUtils.Threading.CoroutinePool
Current HleThread
DispatchingThreads SCE_KERNEL_DISPATCHTHREAD_STATE
PreemptiveScheduler PreemptiveScheduler
Threads List
ThreadsById HleThread>.Dictionary

Protected Properties

Свойство Type Description
LastId int

Méthodes publiques

Méthode Description
Create ( ) : HleThread
DebugCurrentThread ( ) : void
DeleteThread ( HleThread HleThread ) : void
ExitThread ( HleThread HleThread, int ExitStatus ) : void
GetThreadById ( int Id, bool AllowSelf = true ) : HleThread
ResumeThread ( HleThread Thread ) : void
ScheduleNext ( ) : void
StepNext ( System.Action DoBeforeSelectingNext ) : void
SuspendThread ( HleThread Thread ) : void
TerminateThread ( HleThread HleThread ) : void
UpdatedThread ( HleThread HleThread ) : void
Yield ( ) : void

Inside the active thread, yields the execution, and terminates the step.

Private Methods

Méthode Description
CalculateNext ( ) : HleThread
ExecuteCurrent ( HleThread Current ) : void

Execute current thread steps until it can execute other thread.

ExecuteQueuedCallbacks ( ) : void
ExecuteQueuedInterrupts ( ) : void
FindCallbackHandlerWithHighestPriority ( ) : HleThread
HleThreadManager ( ) : System
ICpuConnector ( CpuThreadState CpuThreadState ) : void
IGpuConnector ( uint PC, PspGeCallbackData CallbackData, uint Signal, SignalBehavior Behavior, bool ExecuteNow ) : void
IGpuConnector ( uint PC, PspGeCallbackData CallbackData, uint Arg, bool ExecuteNow ) : void
IInjectInitialize ( ) : void

Method Details

Create() public méthode

public Create ( ) : HleThread
Résultat HleThread

DebugCurrentThread() public méthode

public DebugCurrentThread ( ) : void
Résultat void

DeleteThread() public méthode

public DeleteThread ( HleThread HleThread ) : void
HleThread HleThread
Résultat void

ExitThread() public méthode

public ExitThread ( HleThread HleThread, int ExitStatus ) : void
HleThread HleThread
ExitStatus int
Résultat void

GetThreadById() public méthode

public GetThreadById ( int Id, bool AllowSelf = true ) : HleThread
Id int
AllowSelf bool
Résultat HleThread

ResumeThread() public méthode

public ResumeThread ( HleThread Thread ) : void
Thread HleThread
Résultat void

ScheduleNext() public méthode

public ScheduleNext ( ) : void
Résultat void

StepNext() public méthode

public StepNext ( System.Action DoBeforeSelectingNext ) : void
DoBeforeSelectingNext System.Action
Résultat void

SuspendThread() public méthode

public SuspendThread ( HleThread Thread ) : void
Thread HleThread
Résultat void

TerminateThread() public méthode

public TerminateThread ( HleThread HleThread ) : void
HleThread HleThread
Résultat void

UpdatedThread() public méthode

public UpdatedThread ( HleThread HleThread ) : void
HleThread HleThread
Résultat void

Yield() public méthode

Inside the active thread, yields the execution, and terminates the step.
public Yield ( ) : void
Résultat void

Property Details

CoroutinePool public_oe property

public CoroutinePool,CSharpUtils.Threading CoroutinePool
Résultat CSharpUtils.Threading.CoroutinePool

Current public_oe property

public HleThread Current
Résultat HleThread

DispatchingThreads public_oe property

public SCE_KERNEL_DISPATCHTHREAD_STATE DispatchingThreads
Résultat SCE_KERNEL_DISPATCHTHREAD_STATE

LastId protected_oe property

protected int LastId
Résultat int

PreemptiveScheduler public_oe property

public PreemptiveScheduler PreemptiveScheduler
Résultat PreemptiveScheduler

Threads public_oe property

public List Threads
Résultat List

ThreadsById public_oe property

public Dictionary ThreadsById
Résultat HleThread>.Dictionary