- Timestamp:
- 11/11/08 17:50:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/CoreApplication.cs
r733 r734 14 14 public override void Run() { 15 15 16 Logging.getInstance().Info(this.Name, "Info Message");17 Logging.getInstance().Error(this.Name, "Error Message");18 Logging.getInstance().Error(this.Name, "Exception Message", new Exception("Exception"));16 //Logging.getInstance().Info(this.Name, "Info Message"); 17 //Logging.getInstance().Error(this.Name, "Error Message"); 18 //Logging.getInstance().Error(this.Name, "Exception Message", new Exception("Exception")); 19 19 20 20 Heartbeat beat = new Heartbeat(); 21 21 beat.Interval = 1000; 22 22 beat.StartHeartbeat(); 23 DoRubbish(); 24 Console.WriteLine("done"); 25 Thread.Sleep(99999); 26 } 23 MessageQueue queue = MessageQueue.GetInstance(); 24 25 while (true) { 26 MessageContainer container = queue.GetMessage(); 27 Console.WriteLine(container.Message.ToString()); 28 } 27 29 28 private void DoRubbish() { 29 for (int w = 0; w < 20000000; w++) 30 for (int x = 0; x < 20000000; x++) 31 for (int y = 0; y < 20000000; y++) { 32 } 33 30 34 31 } 35 32 }
Note: See TracChangeset
for help on using the changeset viewer.