Common utility classes as an extension of System.Threading namespace
| C# |
namespace CS.Core.Threading
| All Types | Classes | Delegates |
| Icon | Type | Description |
|---|---|---|
| Counter |
Implements a threadsafe Begin/End style counter with callback on first begin/last end
| |
| DisposableLock |
Designed to create a disposable context for a ReaderWriterLock so that a lock can be attained in a using statement
| |
| InstanceUtil |
Class used to check for a distinct mutex
| |
| Invoker |
Used by the Loader to set the synchronization object for invoking events on the main thread.
| |
| QueuedWorker |
Used to perform asynchronous operations using a worker thread
whose work is queued for execution in a first-in, first-out fashion, one at a time.
| |
| QueuedWorkItem |
Encapsulates an operation to be performed.
| |
| QueuedWorkItemCompleted |
Delegate for event to handle when a queued work item is completed
| |
| QueuedWorkItemCompletedEventArgs | ||
| SafeEvent |
Safely raises events or invokes delegates on the correct threads for attached/targets
that implement ISynchronizeInvoke such as a Control
| |
| QueuedWorkItem..::.WorkerDelegateDefinition |