Assets/Plugins/Unity.Media.Utilities/Runtime/AtomicQueue.cs
/// <summary>
/// Remove an element from the queue
/// </summary>
/// <returns>A pointer to the next element from the queue</returns>
/// <exception cref="InvalidOperationException">If the queue is empty</exception>
Remove an element from the queue
Remove an element from the queue
public T* Dequeue()
        {
            if (TryDequeue(out T* result))
                return result;
            throw new InvalidOperationException("Queue is empty");
        }
public T * Dequeue ( ) { if ( TryDequeue ( out T * result ) ) return result ; throw new InvalidOperationException ( " " ) ; }
Remove an element from the queue
Remove an element from the queue
A pointer to the next element from the queue
A pointer to the next element from the queue
If the queue is empty
If the queue is empty