Changeset 1211 for trunk/sources/HeuristicLab.Operators.Programmable
- Timestamp:
- 02/10/09 12:56:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Programmable/ProgrammableOperator.cs
r895 r1211 54 54 } 55 55 } 56 57 private object syncRoot = new object(); 56 58 57 59 public ProgrammableOperator() { … … 152 154 153 155 public override IOperation Apply(IScope scope) { 154 if (executeMethod == null) { 155 Compile(); 156 lock (syncRoot) { 157 if (executeMethod == null) { 158 Compile(); 159 } 156 160 } 157 161
Note: See TracChangeset
for help on using the changeset viewer.