##// END OF EJS Templates
dispatch pool rewritten
dispatch pool rewritten

File last commit:

r80:4f20870d0816 v2
r81:2c5631b43c7d v2
Show More
SyncPoolWrapper.cs
24 lines | 511 B | text/x-csharp | CSharpLexer
/ Implab / SyncPoolWrapper.cs
cin
added memory barriers
r80 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
}*/
}