Namespace Stride.Core.Threading
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.
- ConcurrentPool<T>
A concurrent object pool.
- PooledAttribute
Allows delegates passed as parameters to be allocated from a pool and recycled after the method call. To prevent recycling, use AddReference(Delegate) and Release(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
Interfaces
- IPooledClosure
Interface implemented by pooled closure types through the AssemblyProcessor. Enables PooledDelegateHelper to keep closures and delegates alive.