Namespace DotNext.Threading
Classes
AsyncAutoResetEvent
Represents asynchronous version of
AsyncBarrier
Enables multiple tasks to cooperatively work on an algorithm in parallel through multiple phases.
AsyncBridge
Allows to turn
AsyncCorrelationSource<TKey, TValue>
Represents pub/sub synchronization primitive when each event has unique identifier.
AsyncCountdownEvent
Represents a synchronization primitive that is signaled when its count reaches zero.
AsyncCounter
Represents a synchronization primitive that is signaled when its count becomes non zero.
AsyncDelegate
Provides set of methods for asynchronous invocation of various delegates.
AsyncEventHub
Represents a collection of asynchronous events.
AsyncExchanger<T>
Represents a synchronization point at which two async flows can cooperate and swap elements within pairs.
AsyncExclusiveLock
Represents asynchronous mutually exclusive lock.
AsyncLazy<T>
Provides support for asynchronous lazy initialization.
AsyncLockAcquisition
Provides a set of methods to acquire different types of asynchronous lock.
AsyncManualResetEvent
Represents asynchronous version of
AsyncReaderWriterLock
Represents asynchronous version of
AsyncSharedLock
Represents a lock that can be acquired in exclusive or weak mode.
AsyncTrigger
Represents asynchronous trigger that allows to resume and suspend concurrent flows.
AsyncTrigger<TState>
Represents asynchronous trigger that allows to resume and suspend concurrent flows.
AtomicDouble
Various atomic operations for Double data type accessible as extension methods.
AtomicEnum
Provides basic atomic operations for arbitrary enum type.
AtomicInt32
Various atomic operations for Int32 data type accessible as extension methods.
AtomicInt64
Various atomic operations for Int64 data type accessible as extension methods.
AtomicIntPtr
Various atomic operations for
AtomicPointer
Represents atomic operations that can be applied to the value referenced by pointer.
AtomicReference
Provides atomic operations for the reference type.
AtomicSingle
Various atomic operations for Single data type accessible as extension methods.
AtomicUInt32
Various atomic operations for UInt32 data type accessible as extension methods.
AtomicUInt64
Various atomic operations for UInt64 data type accessible as extension methods.
ExchangeTerminatedException
Indicates that the exchange has been terminated by the one of participants.
LinkedCancellationTokenSource
Gets cancellation token source that allows to obtain the token that causes cancellation.
LinkedTokenSourceFactory
Represents helper methods for working with linked cancellation tokens.
LockAcquisition
Provides a set of methods to acquire different types of lock.
QueuedSynchronizer
Provides a framework for implementing asynchronous locks and related synchronization primitives that rely on first-in-first-out (FIFO) wait queues.
Scheduler
Represents timer-based scheduler.
ThreadPoolWorkItemFactory
Represents factory of thread pool work items.
Structs
AsyncLock
Unified representation of asynchronous exclusive lock, semaphore lock, read lock, write lock or upgradeable read lock.
AsyncLock.Holder
Represents acquired asynchronous lock.
AsyncReaderWriterLock.LockStamp
Represents lock stamp used for optimistic reading.
Atomic<T>
Provides atomic access to non-primitive data type.
AtomicBoolean
Represents atomic boolean.
AtomicEnum<TEnum>
Represents atomic enum value.
Lock
Unified representation of monitor lock, semaphore lock, read lock, write lock or upgradeable read lock.
Lock.Holder
Represents acquired lock holder.
ReaderWriterSpinLock
Represents lightweight reader-writer lock based on spin loop.
ReaderWriterSpinLock.LockStamp
Represents lock stamp used for optimistic reading.
Scheduler.DelayedTask
Represents a task with delayed completion.
Scheduler.DelayedTask<TResult>
Represents a task with delayed completion.
Timeout
Helps to compute timeout for asynchronous operations.
Interfaces
AsyncTrigger<TState>.ITransition
Represents state transition.
IAsyncEvent
Represents asynchronous event.
IAsyncResetEvent
Represents asynchronous flow synchronization event.
Delegates
Atomic<T>.Accumulator
Represents atomic accumulator.
Atomic<T>.Updater
Represents atomic update action.