diff Implab/Parallels/DispatchPool.cs @ 89:ce0171cacec4 v2

improved performance of a chained map operation
author cin
date Wed, 08 Oct 2014 02:19:45 +0400
parents 2c5631b43c7d
children 4c0e5ef99986
line wrap: on
line diff
--- a/Implab/Parallels/DispatchPool.cs	Tue Oct 07 10:58:38 2014 +0400
+++ b/Implab/Parallels/DispatchPool.cs	Wed Oct 08 02:19:45 2014 +0400
@@ -69,7 +69,7 @@
 
         protected abstract bool TryDequeue(out TUnit unit);
 
-        private bool Dequeue(out TUnit unit, int timeout) {
+        bool Dequeue(out TUnit unit, int timeout) {
             int ts = Environment.TickCount;
             if (TryDequeue(out unit))
                 return true;