protected override void OnDispose() { m_Abort = true; if (m_ReaderThread != null && m_ReaderThread.IsAlive) { m_ReaderThread.Join(); } m_Indexes = null; }
internal LogFileParser(string filename, char separator, bool monitorFile, LogIndexCollection indexes, HashSet <string> filteredItems) { Filename = filename; m_Separator = separator; m_MonitorFile = monitorFile; m_Indexes = indexes; m_FilteredItems = filteredItems; ReadItemReplacements(); }
internal QueuedRequestManager(long databaseInstanceID, LogIndexCollection indexes, string filename) { m_DatabaseInstanceID = databaseInstanceID; m_Indexes = indexes; m_Filename = filename; //m_QueuedReadThreadQuitEvent = new ManualResetEvent(false); Trace.TraceInformation("QueuedReadThread created: {0}", m_DatabaseInstanceID); m_QueuedReadThread = new Thread(new ThreadStart(OnQueuedReadThreadExecute)) { Name = "Queued Request Manager" }; m_QueuedReadThread.Start(); }