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.
ShutdownHandler This class will monitor the state to the application and raise events when it detects that the application is about to shut down.
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.
ShutdownHandlerOrder The order in which the specified callback should occur when shutting down.
ThreadingMode Specifies the threading mode to use for the ScheduledTask