Table of Contents

Namespace Hi.Parallels

Classes

CurrentThreadTaskScheduler

A task scheduler that executes tasks on the current thread.

DistributedQueueTaskScheduler

A task scheduler that distributes tasks across multiple threads or processes. Allows for controlled execution of tasks with a specified maximum concurrency level.

DistributedQueueTaskStarter

A class that manages and starts a collection of actions in parallel.

LockUtil

Utility class for object locking operations.

QueueTaskScheduler

A task scheduler that queues tasks and executes them in a controlled manner. Limits the number of concurrent tasks and provides mechanisms for waiting for all tasks to complete.

ReaderWriterLockUtil

Utility class for reader-writer lock operations. Provides extension methods for ReaderWriterLockSlim to simplify lock acquisition and release.

SemaphoreUtil

Utility class for semaphore operations. Provides extension methods for SemaphoreSlim to simplify semaphore acquisition and release.

ThreadSafeSet<T>

A thread-safe implementation of a set data structure. Uses a reader-writer lock to synchronize access to the underlying HashSet.