Ignore:
Timestamp:
Feb 26, 2010, 2:22:04 PM (12 years ago)
Author:
arnold
Message:

P2PManager

  • Enlarged KeyPatternSize range to 1.000, because the new DES/AES-Implementation runs so fast, that a KeyPattern with KeyPatternSize of 150 will be processed in approximately 40 seconds on a modern PC
  • Embellished Layout
  • Enhanced information display (total processing time)
  • Jobs in progress change their color every second between Yellow and LightGray

Samples:

  • Changed from CFB to CBC, because this modus is much faster than CFB!
  • Changed KeyPatternSize to 150, because the new DES/AES Implementation runs much faster
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PeerToPeerPublisher/SubscribersManagement.cs

    r1137 r1199  
    5858        {
    5959            bool retValue = false;
    60             if (!this.checkList.ContainsKey(subscriberId))
    61             {
    62                 this.dateTimeNow = DateTime.Now;
    63                 // locking checkList instead of activeSubsList, because all other functions work on checkList, not on activeSubsList
    64                 lock (this.checkList)
    65                 {
    66                     this.checkList.Add(subscriberId, this.dateTimeNow);
    67                     retValue = true;
    68                 }
    69             }
     60
     61            lock (this.checkList)
     62            {
     63                if (!this.checkList.ContainsKey(subscriberId))
     64                {
     65                    this.dateTimeNow = DateTime.Now;
     66                    // locking checkList instead of activeSubsList, because all other functions work on checkList, not on activeSubsList
     67                    lock (this.checkList)
     68                    {
     69                        this.checkList.Add(subscriberId, this.dateTimeNow);
     70                        retValue = true;
     71                    }
     72                }
     73            } // end lock
    7074            return retValue;
    7175
Note: See TracChangeset for help on using the changeset viewer.