The CountDownLatch type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CountDownLatch |
Methods
Name | Description | |
---|---|---|
await()()()() |
Causes the current Thread to wait for the count to reach zero, unless
the Thread is interrupted.
| |
await(TimeSpan) |
Causes the current thread to wait until the latch has counted down to zero, unless
the thread is interrupted, or the specified waiting time elapses.
| |
countDown |
Decrement the count, releasing any waiting Threads when the count reaches Zero.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AsyncWaitHandle | ||
Remaining |
Gets the current count for this Latch.
|