Mercurial > pub > ImplabNet
view Implab/SyncPoolWrapper.cs @ 81:2c5631b43c7d v2
dispatch pool rewritten
author | cin |
---|---|
date | Fri, 26 Sep 2014 20:44:01 +0400 |
parents | 4f20870d0816 |
children |
line wrap: on
line source
using System; namespace Implab { /*public struct SyncPoolWrapper<T> : IDisposable { readonly T m_value; readonly SyncPool<T> m_pool; internal SyncPoolWrapper(T value, SyncPool<T> pool) { m_value = value; m_pool = pool; } public T Value { get { return m_value; } } #region IDisposable implementation public void Dispose() { m_pool.Release(m_value); } #endregion }*/ }