Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Stride.Core.Threading Namespace

    Classes

    ConcurrentCollector<T>

    A collector that allows for concurrent adding of items, as well as non-thread-safe clearing and accessing of the underlying colletion.

    ConcurrentCollectorCache<T>

    ConcurrentCollectorExtensions

    ConcurrentPool<T>

    A concurrent object pool.

    Dispatcher

    PooledAttribute

    Allows delegates passed as parameters to be allocated from a pool and recycled after the method call. To prevent recycling, use Stride.Core.Threading.PooledDelegateHelper.AddReference(System.Delegate) and Stride.Core.Threading.PooledDelegateHelper.Release(System.Delegate) to hoold onto references to the delegate.

    ThreadPool

    Thread pool for scheduling sub-millisecond actions, do not schedule long-running tasks. Can be instantiated and generates less garbage than dotnet's.

    Structs

    ConcurrentCollector<T>.Enumerator

    Interfaces

    IPooledClosure

    Interface implemented by pooled closure types through the AssemblyProcessor. Enables Stride.Core.Threading.PooledDelegateHelper to keep closures and delegates alive.

    Delegates

    Dispatcher.ValueAction<T>

    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation