C# Class dWorld.Foundation.Utility.Threading.dLightWeightProcessThread.ThreadProcess

显示文件 Open project: mono/gert

Public Properties

Property Type Description
m_ExternalCommandQueue MPCQueue
m_ExternalCommandQueueEvent System.Threading.Semaphore
m_InternalCommandQueue MPCQueue
m_InternalCommandQueueEvent System.Threading.Semaphore
m_Stop System.Threading.ManualResetEvent

Public Methods

Method Description
EnqueueCommand ( Command _command ) : void
EnqueueProcessToBeUpdated ( dLightWeightProcessBase _process ) : void
Init ( ) : void
MainLoop ( ) : void
Term ( ) : void
ThreadProcess ( ) : System

Private Methods

Method Description
AddServiceToList ( dLightWeightProcessBase _process ) : void
ProcessCommand ( Command _command ) : void
RemoveServiceFromList ( dLightWeightProcessBase _process ) : void
UpdateAProcess ( Command _command ) : void

Method Details

EnqueueCommand() public static method

public static EnqueueCommand ( Command _command ) : void
_command Command
return void

EnqueueProcessToBeUpdated() public static method

public static EnqueueProcessToBeUpdated ( dLightWeightProcessBase _process ) : void
_process dLightWeightProcessBase
return void

Init() public static method

public static Init ( ) : void
return void

MainLoop() public method

public MainLoop ( ) : void
return void

Term() public static method

public static Term ( ) : void
return void

ThreadProcess() public method

public ThreadProcess ( ) : System
return System

Property Details

m_ExternalCommandQueue public_oe static_oe property

public static MPCQueue m_ExternalCommandQueue
return MPCQueue

m_ExternalCommandQueueEvent public_oe static_oe property

public static Semaphore,System.Threading m_ExternalCommandQueueEvent
return System.Threading.Semaphore

m_InternalCommandQueue public_oe static_oe property

public static MPCQueue m_InternalCommandQueue
return MPCQueue

m_InternalCommandQueueEvent public_oe static_oe property

public static Semaphore,System.Threading m_InternalCommandQueueEvent
return System.Threading.Semaphore

m_Stop public_oe static_oe property

public static ManualResetEvent,System.Threading m_Stop
return System.Threading.ManualResetEvent