Gjsify LogoGjsify Logo

The #GstAtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations.

record

Hierarchy

  • AtomicQueue

Index

Constructors

Properties

Methods

Constructors

  • Create a new atomic queue instance. initial_size will be rounded up to the nearest power of 2 and used as the initial size of the queue.

    Parameters

    • initial_size: number

      initial queue size

    Returns AtomicQueue

Properties

name: string

Methods

  • length(): number
  • peek(): object
  • pop(): object
  • push(data: object): void
  • ref(): void
  • unref(): void
  • Create a new atomic queue instance. initial_size will be rounded up to the nearest power of 2 and used as the initial size of the queue.

    Parameters

    • initial_size: number

      initial queue size

    Returns AtomicQueue

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method