ConcurrentQueue.cs
Go to the documentation of this file.
86 // At this point we added correctly our node, now we have to update tail. If it fails then it will be done by another thread
177 throw new ArgumentException ("The array cannot be cast to the collection element type", "array");
194 throw new ArgumentException ("The number of elememts in the collection exceeds the capacity of array", "array");
void CopyTo(T[] array, int index)
Definition: ConcurrentQueue.cs:181
Definition: AggregateException.cs:31
bool TryPeek(out T result)
Definition: ConcurrentQueue.cs:130
bool TryDequeue(out T result)
Definition: ConcurrentQueue.cs:97
ConcurrentQueue(IEnumerable< T > collection)
Definition: ConcurrentQueue.cs:56
Interlocked reference exchanges do not work with the older Mono AOT compiler so this type fudges arou...
Definition: AotInterlocked.cs:15
bool TryAdd(T item)
void Enqueue(T item)
Definition: ConcurrentQueue.cs:62
ConcurrentQueue()
Definition: ConcurrentQueue.cs:51
Definition: IProducerConsumerCollection.cs:32
IEnumerator< T > GetEnumerator()
Definition: ConcurrentQueue.cs:153
T[] ToArray()
Definition: ConcurrentQueue.cs:199
Definition: IStructuralComparable.cs:33
bool TryTake(out T item)
Definition: AotInterlocked.cs:3