Changeset 6618 for branches/GP.Grammar.Editor/HeuristicLab.Problems.ExternalEvaluation/3.3/EvaluationCache.cs
- Timestamp:
- 08/01/11 17:48:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Problems.ExternalEvaluation/3.3/EvaluationCache.cs
r6377 r6618 25 25 using System; 26 26 using System.Collections.Generic; 27 using System.Globalization; 28 using System.IO; 27 29 using System.Linq; 30 using System.Text.RegularExpressions; 28 31 using System.Threading; 29 32 using HeuristicLab.Common; … … 33 36 using HeuristicLab.Parameters; 34 37 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 35 using HeuristicLab.Analysis; 36 using System.IO; 37 using System.Globalization; 38 using System.Text.RegularExpressions; 38 39 39 namespace HeuristicLab.Problems.ExternalEvaluation { 40 40 … … 82 82 83 83 private HashSet<string> activeEvaluations = new HashSet<string>(); 84 private object cacheLock = new object(); 84 private object cacheLock = new object(); 85 85 #endregion 86 86 … … 126 126 127 127 #region Persistence 128 [Storable(Name ="Cache")]128 [Storable(Name = "Cache")] 129 129 private IEnumerable<KeyValuePair<string, double>> Cache_Persistence { 130 130 get { … … 194 194 bool lockTaken = false; 195 195 bool waited = false; 196 try { 196 try { 197 197 Monitor.Enter(cacheLock, ref lockTaken); 198 198 while (true) {
Note: See TracChangeset
for help on using the changeset viewer.