Method | Description | |
---|---|---|
GetNextThreadInPool ( ) : |
Get the first free thread in pool. If there are not free peers it returns a busy peer.
|
|
ThreadPool ( ) : System |
Default constructor of the class.
|
|
ThreadPool ( int poolSize ) : System |
Constructor of the class that initialize the pool to a specific size.
|
public GetNextThreadInPool ( ) : |
||
return |
public ThreadPool ( int poolSize ) : System | ||
poolSize | int | Size of the pool |
return | System |