Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6536


Ignore:
Timestamp:
07/07/11 14:22:16 (13 years ago)
Author:
gkronber
Message:

#1545: reviewed class ThreadSafeLog and removed the LockRecursionPolicy.SupportsRecursion option which is not necessary. Added unit test for the thread safe log.

Location:
trunk/sources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/ThreadSafeLog.cs

    r6516 r6536  
    3333  [StorableClass]
    3434  public class ThreadSafeLog : Item, ILog, IStorableContent {
    35     protected ReaderWriterLockSlim locker = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion);
     35    protected ReaderWriterLockSlim locker = new ReaderWriterLockSlim();
    3636
    3737    public string Filename { get; set; }
  • trunk/sources/HeuristicLab/3.3/Tests/HeuristicLab-3.3.Tests.csproj

    r6501 r6536  
    126126    <Compile Include="CollectObjectGraphTest.cs" />
    127127    <Compile Include="ContentViewTests.cs" />
     128    <Compile Include="ThreadSafeLogTest.cs" />
    128129    <Compile Include="Properties\Resources.Designer.cs">
    129130      <AutoGen>True</AutoGen>
Note: See TracChangeset for help on using the changeset viewer.