Gemstone.Threading Namespace

The Gemstone.Threading namespace organizes all Gemstone library functionality related to threading. The root threading namespace also includes common threading classes, e.g., ConcurrencyLimiter.

Classes

AsyncLock Represents a lock that can be awaited to obtain exclusive access to resources within a critical region of code.
AsyncReaderWriterLock Represents an asynchronous implementation of a reader/writer lock.
ConcurrencyLimiter Task scheduler that limits the number of tasks that can execute in parallel at any given time.
RateLimiter A rate limiting system based on tokes.
ReaderWriterSpinLock Represents a fast, lightweight reader/writer lock that uses spinning to perform locking. No recursive acquires or upgradable locks are allowed (i.e., all entered locks must be exited before entering another lock).
ScheduledTask Represents a way to schedule a task to be executed on a separate thread immediately or after a given time delay.
SharedTimer Represents a timer class that will group registered timer event callbacks that operate on the same interval in order to optimize thread pool queuing.
SharedTimerScheduler Represents a timer manager which is the scheduler of SharedTimer.
TaskCompletionSourceFactory Provides factory functions for creating new TaskCompletionSourceTResult objects.
WeakAction Provides a weak referenced Action delegate.
WeakActionT Provides a weak referenced Action delegate.

Enumerations

ScheduledTaskRunningReason Metadata about why this worker was called.
ThreadingMode Specifies the threading mode to use for the ScheduledTask