Property | Type | Description | |
---|---|---|---|
_tokens | int |
Method | Description | |
---|---|---|
FifoSemaphore ( int tokens ) : System.Collections.Generic |
Constructor, creates a FifoSemaphore
|
|
Release ( ) : void | ||
Release ( int count ) : void | ||
Wait ( ) : bool | ||
Wait ( int milliseconds ) : bool |
public FifoSemaphore ( int tokens ) : System.Collections.Generic | ||
tokens | int | The number of tokens the semaphore will start with |
return | System.Collections.Generic |