Namespace DotNext.Threading
Classes
AsyncAutoResetEvent
Represents asynchronous version of AutoResetEvent.
AsyncBarrier
Enables multiple tasks to cooperatively work on an algorithm in parallel through multiple phases.
AsyncBridge
Allows to turn WaitHandle and CancellationToken into task.
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.
AsyncEvent
Represents various extension methods for types implementing IAsyncEvent interface.
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 ManualResetEvent.
AsyncReaderWriterLock
Represents asynchronous version of ReaderWriterLockSlim.
AsyncSharedLock
Represents a lock that can be acquired in exclusive or weak mode.
AsyncTimer
Represents asynchronous timer.
AsyncTrigger
Represents asynchronous trigger which allows to resume suspended callers based on registered conditions.
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 IntPtr data type accessible as extension methods.
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.
ConcurrentObjectPool<T>
Provides container for the thread-unsafe objects that can be shared between threads concurrently.
ExchangeTerminatedException
Indicates that the exchange has been terminated by the one of participants.
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.
Synchronizer
Provides a framework for implementing asynchronous locks and related synchronization primitives that doesn't rely on first-in-first-out (FIFO) wait queues.
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.
AtomicReference<T>
Provides container with atomic operations for the reference type.
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.
Timeout
Helps to compute timeout for asynchronous operations.
Interfaces
ConcurrentObjectPool<T>.IRental
Represents rented object.
IAsyncEvent
Represents asynchronous event.
IAsyncResetEvent
Represents asynchronous flow synchronization event.
ISynchronizer
Common interface for all synchronization primitives.
Delegates
Atomic<T>.Accumulator
Represents atomic accumulator.
Atomic<T>.Updater
Represents atomic update action.