diff Implab/Parallels/AsyncQueue.cs @ 128:6241bff0cd64 v2

Added Signal class a lightweight alternative to ManualResetEvent
author cin
date Thu, 29 Jan 2015 05:09:31 +0300
parents d86da8d2d4c3
children 471f596b2603
line wrap: on
line diff
--- a/Implab/Parallels/AsyncQueue.cs	Tue Jan 27 18:18:29 2015 +0300
+++ b/Implab/Parallels/AsyncQueue.cs	Thu Jan 29 05:09:31 2015 +0300
@@ -454,7 +454,7 @@
             } while(true);
         }
             
-        T[] ReadChunks(Chunk chunk, object last) {
+        static T[] ReadChunks(Chunk chunk, object last) {
             var result = new List<T>();
             var buffer = new T[DEFAULT_CHUNK_SIZE];
             int actual;