diff Implab/DisposablePool.cs @ 119:2573b562e328 v2

Promises rewritten, added improved version of AsyncQueue
author cin
date Sun, 11 Jan 2015 19:13:02 +0300
parents 8beee0d11de6
children
line wrap: on
line diff
--- a/Implab/DisposablePool.cs	Sun Dec 28 16:09:03 2014 +0300
+++ b/Implab/DisposablePool.cs	Sun Jan 11 19:13:02 2015 +0300
@@ -7,7 +7,7 @@
 namespace Implab {
     public abstract class DisposablePool<T> : IDisposable {
         readonly int m_size;
-        readonly MTQueue<T> m_queue = new MTQueue<T>();
+        readonly AsyncQueue<T> m_queue = new AsyncQueue<T>();
 
         [SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
         static readonly bool _isValueType = typeof(T).IsValueType;