void IController.Start() { m_state.SetValue(State.Value.Starting, true); m_inboundData = new FifoBuffer(); m_evtShutdown = new ManualResetEvent(false); m_waitHandlesRead = new WaitHandle[] { m_evtShutdown, m_inboundData.WaitHandle }; m_inboundDataThread = CreateThread(new ThreadStart(this.ReceiveInput)); m_stateMachineThread = CreateThread(new ThreadStart(this.Process)); m_state.SetValue(State.Value.Started, false); }
private void Initialize() { m_notifyEvent = new AutoResetEvent(false); m_rpcEvent = new AutoResetEvent(false); m_evtShutdown = new ManualResetEvent(false); m_evtPing = new ManualResetEvent(false); m_rpcQueue = ArrayList.Synchronized(new ArrayList()); m_rpcEndPoints = ArrayList.Synchronized(new ArrayList()); m_requests = ArrayList.Synchronized(new ArrayList()); m_notifyQueue = ArrayList.Synchronized(new ArrayList()); m_notifyNoise = new WireProtocol.FifoBuffer(); m_typeSysLookup = new TypeSysLookup(); m_state = new State(this); m_fProcessExited = false; //default capabilities, used until clr can be queried. m_capabilities = new CLRCapabilities(); m_RebootTime = new RebootTime(); }
void IController.Start() { m_state.SetValue( State.Value.Starting, true ); m_inboundData = new FifoBuffer(); m_evtShutdown = new ManualResetEvent( false ); m_waitHandlesRead = new WaitHandle[] { m_evtShutdown, m_inboundData.WaitHandle }; m_inboundDataThread = CreateThread( new ThreadStart( this.ReceiveInput ) ); m_stateMachineThread = CreateThread( new ThreadStart( this.Process ) ); m_state.SetValue( State.Value.Started, false ); }