C# Class CSPspEmu.Runner.Components.ComponentThread

Inheritance: IRunnableComponent
显示文件 Open project: soywiz/cspspemu

Public Properties

Property Type Description
Running bool
ThreadTaskQueue CSharpUtils.Threading.TaskQueue

Protected Properties

Property Type Description
ComponentThreadThread Thread
PauseEvent System.Threading.AutoResetEvent
ResumeEvent System.Threading.AutoResetEvent
RunningUpdatedEvent System.Threading.AutoResetEvent
StopCompleteEvent System.Threading.AutoResetEvent

Public Methods

Method Description
PauseSynchronized ( ) : void
ResumeSynchronized ( ) : void
StartSynchronized ( ) : void
StopSynchronized ( ) : void

Protected Methods

Method Description
ComponentThread ( ) : System
Main ( ) : void

Method Details

ComponentThread() protected method

protected ComponentThread ( ) : System
return System

Main() protected abstract method

protected abstract Main ( ) : void
return void

PauseSynchronized() public method

public PauseSynchronized ( ) : void
return void

ResumeSynchronized() public method

public ResumeSynchronized ( ) : void
return void

StartSynchronized() public method

public StartSynchronized ( ) : void
return void

StopSynchronized() public method

public StopSynchronized ( ) : void
return void

Property Details

ComponentThreadThread protected_oe property

protected Thread ComponentThreadThread
return Thread

PauseEvent protected_oe property

protected AutoResetEvent,System.Threading PauseEvent
return System.Threading.AutoResetEvent

ResumeEvent protected_oe property

protected AutoResetEvent,System.Threading ResumeEvent
return System.Threading.AutoResetEvent

Running public_oe property

public bool Running
return bool

RunningUpdatedEvent protected_oe property

protected AutoResetEvent,System.Threading RunningUpdatedEvent
return System.Threading.AutoResetEvent

StopCompleteEvent protected_oe property

protected AutoResetEvent,System.Threading StopCompleteEvent
return System.Threading.AutoResetEvent

ThreadTaskQueue public_oe property

public TaskQueue,CSharpUtils.Threading ThreadTaskQueue
return CSharpUtils.Threading.TaskQueue