Space Engineers
Public Member Functions | Properties | List of all members
VRage.Collections.MyConcurrentQueue< T > Class Template Reference

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)
 
Dequeue ()
 
bool TryDequeue (out T instance)
 
bool TryPeek (out T instance)
 

Properties

int Count [get]
 

Detailed Description

Simple thread-safe queue. Uses spin-lock

Definition at line 13 of file MyConcurrentQueue.cs.

Constructor & Destructor Documentation

Definition at line 18 of file MyConcurrentQueue.cs.

Definition at line 23 of file MyConcurrentQueue.cs.

Member Function Documentation

void VRage.Collections.MyConcurrentQueue< T >.Clear ( )
inline

Definition at line 39 of file MyConcurrentQueue.cs.

T VRage.Collections.MyConcurrentQueue< T >.Dequeue ( )
inline

Definition at line 63 of file MyConcurrentQueue.cs.

void VRage.Collections.MyConcurrentQueue< T >.Enqueue ( instance)
inline

Definition at line 55 of file MyConcurrentQueue.cs.

void VRage.Collections.MyConcurrentQueue< T >.Remove ( instance)
inline

Definition at line 47 of file MyConcurrentQueue.cs.

bool VRage.Collections.MyConcurrentQueue< T >.TryDequeue ( out T  instance)
inline

Definition at line 71 of file MyConcurrentQueue.cs.

bool VRage.Collections.MyConcurrentQueue< T >.TryPeek ( out T  instance)
inline

Definition at line 86 of file MyConcurrentQueue.cs.

Property Documentation

Definition at line 29 of file MyConcurrentQueue.cs.


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