Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Collections.Concurrent.ConcurrentBag< T >.WorkStealingQueue Class Referencesealed

Package Functions

 WorkStealingQueue (WorkStealingQueue nextQueue)
 
void LocalPush (T item, ref long emptyToNonEmptyListTransitionCount)
 
void LocalClear ()
 
bool TryLocalPop ([MaybeNullWhen(false)] out T result)
 
bool TryLocalPeek ([MaybeNullWhen(false)] out T result)
 
bool TrySteal ([MaybeNullWhen(false)] out T result, bool take)
 
int DangerousCopyTo (T[] array, int arrayIndex)
 

Package Attributes

volatile int _currentOp
 
bool _frozen
 
readonly WorkStealingQueue _nextQueue
 
readonly int _ownerThreadId
 

Properties

bool IsEmpty [get]
 
int DangerousCount [get]
 

Private Attributes

volatile int _headIndex
 
volatile int _tailIndex
 
volatile T[] _array = new T[32]
 
volatile int _mask = 31
 
int _addTakeCount
 
int _stealCount
 

Detailed Description

Definition at line 13 of file ConcurrentBag.cs.


The documentation for this class was generated from the following file: