public void Start() { if (IsRunning) return; ExecuteRequestCoroutine.ErrorPageString = _errorPageString; _thread = new Thread(RunHttpModule); _running = true; _thread.Start(); }
public void Stop() { if (_thread == null) return; _running = false; Thread.Sleep(WAIT_INCOMING_MS * 2); }
protected MessageBase(Guid id, DateTime timeout) { Id = id; IsCompleted = new ConcurrentBool(); Timeout = timeout; }