SimpleConcurrentBag.cs
Go to the documentation of this file.
77 if (deques[(stealIndex = (stealIndex + 1) % deques.Length)].PopTop (out value) == PopResult.Succeed)
void Add(int index, T value)
Definition: SimpleConcurrentBag.cs:84
int GetNextIndex()
Definition: SimpleConcurrentBag.cs:52
Definition: AggregateException.cs:31
bool TryTake(int index, out T value)
Definition: SimpleConcurrentBag.cs:57
bool TrySteal(int index, out T value)
Definition: SimpleConcurrentBag.cs:64
SimpleConcurrentBag(int num)
Definition: SimpleConcurrentBag.cs:43
Definition: AotInterlocked.cs:3