Mercurial > pub > ImplabNet
diff Implab/Parallels/AsyncQueue.cs @ 129:471f596b2603 v2
Added SharedLock to synchronization routines
author | cin |
---|---|
date | Thu, 29 Jan 2015 18:31:06 +0300 |
parents | 6241bff0cd64 |
children | 671f60cd0250 |
line wrap: on
line diff
--- a/Implab/Parallels/AsyncQueue.cs Thu Jan 29 05:09:31 2015 +0300 +++ b/Implab/Parallels/AsyncQueue.cs Thu Jan 29 18:31:06 2015 +0300 @@ -495,11 +495,11 @@ #region ICollection implementation public void Add(T item) { - throw new InvalidOperationException(); + throw new NotSupportedException(); } public void Clear() { - throw new InvalidOperationException(); + throw new NotSupportedException(); } public bool Contains(T item) { @@ -511,7 +511,7 @@ } public bool Remove(T item) { - throw new NotImplementedException(); + throw new NotSupportedException(); } public int Count {