Method | Description | |
---|---|---|
AddCount ( ) : void |
Increments the CountdownEvent's current count by one.
|
|
CountdownEvent ( int initialCount ) : System |
Initializes a new instance of CountdownEvent class with the specified count. If initialCount is |
|
Dispose ( ) : void |
Releases all resources used by the current instance of the CountdownEvent class.
|
|
Signal ( ) : bool |
Registers a signal with the CountdownEvent, decrementing the value of CurrentCount.
|
|
Wait ( System.TimeSpan timeout ) : bool |
Blocks the current thread until the CountdownEvent is set, using a TimeSpan to measure the timeout.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the CountdownEvent, and optionally releases the managed resources.
|
Method | Description | |
---|---|---|
EnsureNotDisposed ( ) : void |
public CountdownEvent ( int initialCount ) : System | ||
initialCount | int | The number of signals initially required to set the |
return | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public Wait ( System.TimeSpan timeout ) : bool | ||
timeout | System.TimeSpan | A |
return | bool |