Namespace Jitter2.Parallelization
Classes
- Parallel
Provides methods and structures for parallel batch processing within the Jitter physics engine.
- ParallelExtensions
Provides parallel batch processing extension methods for collections used by the physics engine.
- ThreadPool
Provides a persistent worker thread pool for parallel task execution within the physics engine.
Structs
- Parallel.Batch
Represents a batch defined by a start index, an end index, and a batch index. This struct is utilized in ForBatch(int, int, int, Action<Batch>, bool) to facilitate multithreaded batch processing within a for-loop.
- ReaderWriterLock
Provides a lightweight reader-writer lock optimized for rare write operations.