Space Engineers
|
Simple thread-safe queue. Uses spin-lock More...
Public Member Functions | |
MyConcurrentQueue (int capacity) | |
MyConcurrentQueue () | |
void | Clear () |
void | Remove (T instance) |
void | Enqueue (T instance) |
T | Dequeue () |
bool | TryDequeue (out T instance) |
bool | TryPeek (out T instance) |
Properties | |
int | Count [get] |
Simple thread-safe queue. Uses spin-lock
Definition at line 13 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 18 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 23 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 39 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 63 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 55 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 47 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 71 of file MyConcurrentQueue.cs.
|
inline |
Definition at line 86 of file MyConcurrentQueue.cs.
|
get |
Definition at line 29 of file MyConcurrentQueue.cs.