Search Results for

    Show / Hide Table of Contents

    Class ConcurrentQueue

    Lock-free implementation of thread-safe queue. Based on: https://github.com/cameron314/concurrentqueue

    Inheritance
    moodycamel::ConcurrentQueue<T, ConcurrentQueueSettings>
    ConcurrentQueue
    Inherited Members
    ConcurrentQueue
    Assembly: FlaxEngine.dll
    File: Engine/Threading/ConcurrentQueue.h
    Syntax
    public class ConcurrentQueue<T>
    Type Parameters
    T

    Methods

    Add(const T& item)

    Adds item to the collection.

    Declaration
    public void Add(const T& item)
    Parameters
    T item

    The item to add.

    Returns
    void

    Add(T&& item)

    Adds item to the collection.

    Declaration
    public void Add(T&& item)
    Parameters
    T item

    The item to add.

    Returns
    void

    Count()

    Gets an estimate of the total number of elements currently in the queue.

    Declaration
    public int32 Count() const
    Returns
    int32

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat