Method | Description | |
---|---|---|
Release ( ) : void |
Adds one resource.
|
|
Semaphore ( int maximumCount ) : System.Threading |
Creates a new instance of the Semaphore class.
|
|
WaitOne ( ) : void |
Blocks the calling thread until resources are made available, then consumes one resource.
|
public Semaphore ( int maximumCount ) : System.Threading | ||
maximumCount | int | |
return | System.Threading |