Acquire/Release protocol, base of many concurrency utilities.
For a list of all members of this type, see ISync Members .
|Latch|| A latch is a boolean condition that is set at most once, ever. Once a single release is issued, all acquires will pass.
Sample usage. Here are a set of classes that use a latch as a start signal for a group of worker threads that are created and started beforehand, and then later enabled.
Base class for counting semaphores based on Semaphore implementation from Doug Lea.
|TimeoutSync||A TimeoutSync is an adaptor class that transforms all calls to acquire to instead invoke attempt with a predetermined timeout value.|
ISync objects isolate waiting and notification for particular logical states, resource availability, events, and the like that are shared across multiple threads.
Use of ISyncs sometimes (but by no means always) adds flexibility and efficiency compared to the use of plain .Net monitor methods and locking, and are sometimes (but by no means always) simpler to program with.
Used for implementation of a SimplePool
Assembly: Spring.Core (in Spring.Core.dll)