Table of Contents

Namespace Hi.Parallels

Classes

CurrentThreadTaskScheduler

A task scheduler that executes tasks on the current thread.

LockUtil

Utility class for object locking operations.

PriorityTaskScheduler

A task scheduler that executes tasks with a specified thread priority.

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.