Concurrent
Description:
public namespace Concurrent
Content:
Classes:
- Channel - Generic typed message-passing channel
inspired by Go channels.
- ChannelBox - Boxed generic value for channel
transport.
- ChannelInt - Thread-safe message-passing
channel inspired by Go channels.
- ChannelString - Thread-safe string
message-passing channel.
- CountDownLatch - Countdown latch for one
-shot synchronization.
- Future - Represents the eventual result of an
asynchronous computation.
- IntBox - Boxed int value for channel transport.
- Mutex - Mutex wrapper with utility methods.
- Once - Executes a function at most once.
- PromiseBool - Promise for a bool result
from an asynchronous computation.
- PromiseDouble - Promise for a double
result from an asynchronous computation.
- PromiseInt - Promise for an int result from
an asynchronous computation.
- PromiseString - Promise for a string
result from an asynchronous computation.
- RWMutex - Reader-writer mutex.
- Semaphore - Counting semaphore.
- SingleFlight - Suppresses duplicate
concurrent work for the same key.
- StringBox - Boxed string value for channel
transport.
- TaskWrapper - Internal task wrapper used by
WorkerPool.
- ThreadPool - Generic fixed-size thread pool
for asynchronous task execution.
- ThreadPoolTaskFunc - Wrapper for
queued task function used by invokeAll.
- WaitGroup - Waits for a collection of tasks
to complete.
- WorkerPool - Fixed-size worker pool for
executing tasks concurrently.
Delegates:
- public delegate void OnceFunc ()
Function delegate for Once execution.
- public delegate T RecoverFunc<T> (string message)
Function used by recover to turn a failure into a value.
- public delegate T SingleFlightFunc<T> ()
Function used by do and doFuture.
- public delegate T TaskFunc<T> ()
Function delegate that returns a value of type T.
- public delegate void VoidTaskFunc ()
Function delegate that takes no arguments and returns nothing.
- public delegate void WithLockFunc ()
Function delegate for withLock blocks.