wasSharp – Diff between revs 10 and 12
?pathlinks?
Rev 10 | Rev 12 | |||
---|---|---|---|---|
Line 16... | Line 16... | |||
16 | /// </summary> |
16 | /// </summary> |
|
17 | /// <typeparam name="T">the type of value to store</typeparam> |
17 | /// <typeparam name="T">the type of value to store</typeparam> |
|
18 | public class CircularQueue<T> |
18 | public class CircularQueue<T> |
|
19 | { |
19 | { |
|
20 | private readonly LinkedList<T> Store = new LinkedList<T>(); |
20 | private readonly LinkedList<T> Store = new LinkedList<T>(); |
|
21 | private LinkedListNode<T> CurrentNode; |
- | ||
Line 22... | Line 21... | |||
22 | |
21 | |
|
- | 22 | private readonly object SyncRoot = new object(); |
||
Line 23... | Line 23... | |||
23 | private readonly object SyncRoot = new object(); |
23 | private LinkedListNode<T> CurrentNode; |
|
24 | |
24 | |
|
25 | public CircularQueue() |
25 | public CircularQueue() |