public vmInfoThread() { _fileLogger = new Logging.fileLogger(Logging.utils.appPath + "vmusage.log.txt"); eventEnableCapture = new AutoResetEvent(true); eventEnableSend = new AutoResetEvent(false); //procStatsQueue = new Queue<ProcessStatistics.process_statistics>(); procStatsQueueBytes = new Queue <byte[]>(); myThreadSocket = new Thread(socketThread); myThreadSocket.Start(); myThread = new Thread(usageThread); myThread.Start(); }
public vmInfoThread() { _fileLogger = new Logging.fileLogger(Logging.utils.appPath + "vmusage.log.txt"); eventEnableCapture = new AutoResetEvent(true); eventEnableSend = new AutoResetEvent(false); //procStatsQueue = new Queue<ProcessStatistics.process_statistics>(); procStatsQueueBytes = new Queue<byte[]>(); myThreadSocket = new Thread(socketThread); myThreadSocket.Start(); myThread = new Thread(usageThread); myThread.Start(); }